Class: Nl::Linux::Ethtool::AttributeSets::Fec
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::Fec
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Defined Under Namespace
Classes: Active, Attribute, Auto, Header, Modes, Stats
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
- #active ⇒ Integer
- #auto ⇒ Integer
- #header ⇒ AttributeSets::Header
- #modes ⇒ AttributeSets::Bitset
- #stats ⇒ AttributeSets::FecStat
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.
3651 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3651 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3657 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3657 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#active ⇒ Integer
3640 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3640 def active; self[:"active"]&.value; end |
#auto ⇒ Integer
3636 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3636 def auto; self[:"auto"]&.value; end |
#header ⇒ AttributeSets::Header
3628 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3628 def header; self[:"header"]&.value; end |
#modes ⇒ AttributeSets::Bitset
3632 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3632 def modes; self[:"modes"]&.value; end |
#stats ⇒ AttributeSets::FecStat
3644 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3644 def stats; self[:"stats"]&.value; end |