Class: Wiki2Go::BlacklistConfiguration
- Inherits:
-
Object
- Object
- Wiki2Go::BlacklistConfiguration
- Defined in:
- lib/Wiki2Go/firewall_blacklist.rb
Instance Attribute Summary collapse
-
#directory ⇒ Object
Returns the value of attribute directory.
-
#head ⇒ Object
Returns the value of attribute head.
-
#out ⇒ Object
Returns the value of attribute out.
-
#tail ⇒ Object
Returns the value of attribute tail.
Instance Method Summary collapse
-
#initialize ⇒ BlacklistConfiguration
constructor
A new instance of BlacklistConfiguration.
Constructor Details
#initialize ⇒ BlacklistConfiguration
Returns a new instance of BlacklistConfiguration.
17 18 19 20 |
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 17 def initialize @directory = File.(".") @out = File.("./iptables.txt") end |
Instance Attribute Details
#directory ⇒ Object
Returns the value of attribute directory.
15 16 17 |
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 15 def directory @directory end |
#head ⇒ Object
Returns the value of attribute head.
12 13 14 |
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 12 def head @head end |
#out ⇒ Object
Returns the value of attribute out.
14 15 16 |
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 14 def out @out end |
#tail ⇒ Object
Returns the value of attribute tail.
13 14 15 |
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 13 def tail @tail end |