class Construqt::Flavour::Ubuntu::EtcNetworkIptables::Section
Public Class Methods
new(name)
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 167 def initialize(name) @name = name @ipv4 = Block.new(self) @ipv6 = Block.new(self) end
Public Instance Methods
commitv4()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 189 def commitv4 @ipv4.commit end
commitv6()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 185 def commitv6 @ipv6.commit end
ipv4()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 177 def ipv4 @ipv4 end
ipv6()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 181 def ipv6 @ipv6 end
name()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 173 def name @name end