Class: Construqt::Firewalls::Firewall::Raw
- Inherits:
-
Object
- Object
- Construqt::Firewalls::Firewall::Raw
- Defined in:
- lib/construqt/firewalls.rb
Defined Under Namespace
Classes: RawEntry
Instance Attribute Summary collapse
-
#firewall ⇒ Object
readonly
Returns the value of attribute firewall.
Instance Method Summary collapse
- #add ⇒ Object
-
#initialize(firewall) ⇒ Raw
constructor
A new instance of Raw.
- #rules ⇒ Object
Constructor Details
#initialize(firewall) ⇒ Raw
Returns a new instance of Raw.
97 98 99 100 |
# File 'lib/construqt/firewalls.rb', line 97 def initialize(firewall) @firewall = firewall @rules = [] end |
Instance Attribute Details
#firewall ⇒ Object (readonly)
Returns the value of attribute firewall.
96 97 98 |
# File 'lib/construqt/firewalls.rb', line 96 def firewall @firewall end |