Class: Respawn::Try::Handler
- Inherits:
-
Object
- Object
- Respawn::Try::Handler
- Defined in:
- lib/respawn/try.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
33 34 35 |
# File 'lib/respawn/try.rb', line 33 def block @block end |
Instance Method Details
#define(&block) ⇒ Object
35 36 37 |
# File 'lib/respawn/try.rb', line 35 def define(&block) self.block = block end |