Class: Taskr::Actions::Ruby

Inherits:
Base
  • Object
show all
Defined in:
lib/taskr/actions.rb

Instance Attribute Summary

Attributes inherited from Base

#parameters, #task

Instance Method Summary collapse

Methods inherited from Base

#initialize, #trigger

Constructor Details

This class inherits a constructor from Taskr::Actions::Base

Instance Method Details

#executeObject



137
138
139
140
# File 'lib/taskr/actions.rb', line 137

def execute
  code = parameters['code']
  eval code
end