Class: Wiki2Go::BlacklistConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/Wiki2Go/firewall_blacklist.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBlacklistConfiguration

Returns a new instance of BlacklistConfiguration.


17
18
19
20
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 17

def initialize
  @directory = File.expand_path(".")
  @out       = File.expand_path("./iptables.txt")
end

Instance Attribute Details

#directoryObject

Returns the value of attribute directory


15
16
17
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 15

def directory
  @directory
end

#headObject

Returns the value of attribute head


12
13
14
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 12

def head
  @head
end

#outObject

Returns the value of attribute out


14
15
16
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 14

def out
  @out
end

#tailObject

Returns the value of attribute tail


13
14
15
# File 'lib/Wiki2Go/firewall_blacklist.rb', line 13

def tail
  @tail
end