Class: Nl::Linux::Nftables::AttributeSets::ExprAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Data, Name
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
-
#data ⇒ SubMessages::ExprOps::Bitwise, ...
type specific data.
-
#name ⇒ String
name of the expression type.
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.
1394 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 1394 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1400 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 1400 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#data ⇒ SubMessages::ExprOps::Bitwise, ...
type specific data
1387 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 1387 def data; self[:"data"]&.value; end |
#name ⇒ String
name of the expression type
1382 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 1382 def name; self[:"name"]&.value; end |