class Taskinator::Executor
Attributes
definition[R]
task[R]
Public Class Methods
new(definition, task=nil)
click to toggle source
# File lib/taskinator/executor.rb, line 7 def initialize(definition, task=nil) @definition = definition @task = task # include the module into the eigen class, so it is only for this instance eigen = class << self; self; end eigen.send(:include, definition) end
Public Instance Methods
options()
click to toggle source
# File lib/taskinator/executor.rb, line 24 def options task.options if task end
process_uuid()
click to toggle source
# File lib/taskinator/executor.rb, line 16 def process_uuid task.process_uuid if task end
uuid()
click to toggle source
# File lib/taskinator/executor.rb, line 20 def uuid task.uuid if task end