Class: Thespian::Dsl
- Inherits:
-
Object
- Object
- Thespian::Dsl
- Defined in:
- lib/thespian/dsl.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#receive_block ⇒ Object
readonly
Returns the value of attribute receive_block.
Instance Method Summary collapse
Instance Attribute Details
#receive_block ⇒ Object (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 |