class Construqt::Firewalls::Firewall::Nat
Attributes
firewall[R]
rules[R]
Public Class Methods
new(firewall)
click to toggle source
# File lib/construqt/firewalls.rb, line 155 def initialize(firewall) @firewall = firewall @rules = [] end
Public Instance Methods
add()
click to toggle source
# File lib/construqt/firewalls.rb, line 190 def add entry = NatEntry.new @rules << entry entry end