class Construqt::Flavour::Ubuntu::EtcNetworkInterfaces::Entry
Public Class Methods
new(result, iface)
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 336 def initialize(result, iface) @result = result @iface = iface @header = Header.new(self) @lines = Lines.new(self) @skip_interfaces = false end
Public Instance Methods
commit()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 369 def commit @header.commit + @lines.commit end
header()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 352 def header @header end
iface()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 332 def iface @iface end
lines()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 356 def lines @lines end
name()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 348 def name @iface.name end
result()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 344 def result @result end
skip_interfaces()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 364 def skip_interfaces @skip_interfaces = true self end
skip_interfaces?()
click to toggle source
# File lib/construqt/flavour/ubuntu/flavour_ubuntu_result.rb, line 360 def skip_interfaces? @skip_interfaces end