class Construqt::Firewalls::Firewall::Forward
Attributes
firewall[R]
rules[R]
Public Class Methods
new(firewall)
click to toggle source
# File lib/construqt/firewalls.rb, line 221 def initialize(firewall) @firewall = firewall @rules = [] end
Public Instance Methods
add()
click to toggle source
# File lib/construqt/firewalls.rb, line 276 def add entry = ForwardEntry.new #puts "ForwardEntry: #{@firewall.name} #{entry.input_only?} #{entry.output_only?}" @rules << entry entry end