Class: Nl::Linux::Tc::AttributeSets::ActSimpleAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::ActSimpleAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Attribute, Data, Pad, Parms, Tm
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
4127 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4127 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
4133 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4133 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#data ⇒ String
4120 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4120 def data; self[:"data"]&.value; end |
#parms ⇒ String
4116 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4116 def parms; self[:"parms"]&.value; end |
#tm ⇒ Structs::TcfT
4112 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4112 def tm; self[:"tm"]&.value; end |