Class: Thespian::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/thespian/dsl.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#receive_blockObject (readonly)

Returns the value of attribute receive_block.



3
4
5
# File 'lib/thespian/dsl.rb', line 3

def receive_block
  @receive_block
end

Instance Method Details

#receive(&block) ⇒ Object



5
6
7
# File 'lib/thespian/dsl.rb', line 5

def receive(&block)
  @receive_block = block
end