Class: Nl::Linux::Tc::AttributeSets::ActGactAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::ActGactAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Attribute, Pad, Parms, Prob, 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.
10945 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10945 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
10951 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10951 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#parms ⇒ Structs::TcGact
10934 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10934 def parms; self[:"parms"]&.value; end |
#prob ⇒ Structs::TcGactP
10938 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10938 def prob; self[:"prob"]&.value; end |
#tm ⇒ Structs::TcfT
10930 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10930 def tm; self[:"tm"]&.value; end |