Class: Dcmgr::VNet::Netfilter::Chain
- Inherits:
-
Object
- Object
- Dcmgr::VNet::Netfilter::Chain
- Defined in:
- lib/dcmgr/vnet/netfilter/chain.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table, name) ⇒ Chain
constructor
A new instance of Chain.
Constructor Details
#initialize(table, name) ⇒ Chain
Returns a new instance of Chain.
11 12 13 14 |
# File 'lib/dcmgr/vnet/netfilter/chain.rb', line 11 def initialize(table,name) @table = table @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/dcmgr/vnet/netfilter/chain.rb', line 8 def name @name end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
9 10 11 |
# File 'lib/dcmgr/vnet/netfilter/chain.rb', line 9 def table @table end |