Class: MuSL::Maker

Inherits:
Object
  • Object
show all
Defined in:
lib/mu/maker.rb

Overview

end

Defined Under Namespace

Classes: Assertions, Block, Globals, Hosts, Options, Receive, Scenario, Send, Steps, Variables

Class Method Summary collapse

Class Method Details

.create(name = 'scenario') ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/mu/maker.rb', line 12

def self.create name='scenario'
    scenario = Scenario.new
    scenario.create(name) do
        yield scenario
    end
    scenario.musl << "\r\n"
    return scenario.musl.join
end