lib/testlab/interface.rb in testlab-0.4.6 vs lib/testlab/interface.rb in testlab-0.4.7
- old
+ new
@@ -7,17 +7,17 @@
#
# @author Zachary Patten <zachary AT jovelabs DOT com>
class Interface < ZTK::DSL::Base
# Associations and Attributes
- belongs_to :container, :class_name => 'TestLab::Container'
- belongs_to :network, :class_name => 'TestLab::Network'
+ belongs_to :container, :class_name => 'TestLab::Container'
+ belongs_to :network, :class_name => 'TestLab::Network'
attribute :address
attribute :mac
attribute :name
- attribute :primary, :default => false
+ attribute :primary, :default => false
def initialize(*args)
super(*args)
@ui = TestLab.ui