Class: MuSL::Maker::Receive

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

Instance Attribute Summary

Attributes inherited from Block

#scenario

Instance Method Summary collapse

Methods inherited from Block

#comment, #initialize

Constructor Details

This class inherits a constructor from MuSL::Maker::Block

Instance Method Details

#assertionsObject



261
262
263
264
265
# File 'lib/mu/maker.rb', line 261

def assertions
    scenario.block 'assertions {', '}' do
        yield Assertions.new(scenario)
    end
end

#variablesObject



267
268
269
270
271
# File 'lib/mu/maker.rb', line 267

def variables
    scenario.block 'variables {', '}' do
        yield Variables.new(scenario)
    end
end