Object
| Authors: | mewlist / Hidenori Doi |
| Copyright: | Copyright (C) 2010 mewlist / Hidenori Doi |
| License: | The MIT License |
To define new Task you must inherit this base-class
class NewTask < Rask::Task
define_state :initial, :initial => true
define_state :finish
def initial
transition_to_finish
end
def finish
destroy
end
end
Rask::insert NewTask.new('group_name')
Rask::daemon(:group => 'group_name')
# File lib/rask.rb, line 87 def initialize(_group=nil) self.group = _group super() end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.