Class: MuSL::Maker::Hosts
Instance Attribute Summary
Attributes inherited from Block
Instance Method Summary collapse
Methods inherited from Block
Constructor Details
This class inherits a constructor from MuSL::Maker::Block
Instance Method Details
#create(name, type, role = nil) ⇒ Object
122 123 124 125 |
# File 'lib/mu/maker.rb', line 122 def create name, type, role=nil scenario.comment(role) if role scenario.line('&' + name + ' = host(type:' + type + ')') end |