Class: Respawn::Try::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/respawn/try.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockObject

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