lib/testlab/interface.rb in testlab-1.3.1 vs lib/testlab/interface.rb in testlab-1.3.2
- old
+ new
@@ -19,11 +19,11 @@
attribute :primary, :default => false
def initialize(*args)
@ui = TestLab.ui
+ @ui.logger.info { "Loading Interface '#{self.id}'" }
super(*args)
-
@ui.logger.info { "Interface '#{self.id}' Loaded" }
end
def ip
TestLab::Utility.ip(self.address)