Class: Nl::Linux::Ethtool::AttributeSets::Features
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::Features
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Defined Under Namespace
Classes: Active, Attribute, Header, Hw, Nochange, Wanted
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 ⇒ AttributeSets::Bitset
- #header ⇒ AttributeSets::Header
- #hw ⇒ AttributeSets::Bitset
- #nochange ⇒ AttributeSets::Bitset
- #wanted ⇒ AttributeSets::Bitset
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.
1676 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1676 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1682 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1682 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#active ⇒ AttributeSets::Bitset
1665 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1665 def active; self[:"active"]&.value; end |
#header ⇒ AttributeSets::Header
1653 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1653 def header; self[:"header"]&.value; end |
#hw ⇒ AttributeSets::Bitset
1657 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1657 def hw; self[:"hw"]&.value; end |
#nochange ⇒ AttributeSets::Bitset
1669 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1669 def nochange; self[:"nochange"]&.value; end |
#wanted ⇒ AttributeSets::Bitset
1661 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1661 def wanted; self[:"wanted"]&.value; end |