Method: Caty::Task#execute
- Defined in:
- lib/caty/task.rb
#execute(context) ⇒ Object
Executes the associated instance_method by binding it to the given context.
43 44 45 |
# File 'lib/caty/task.rb', line 43 def execute( context ) @instance_method.bind(context).call(*@args) end |