Method: Roject::Project#task
- Defined in:
- lib/project.rb
#task(name, &block) ⇒ Object
Creates a task maker with the given name and block
Parameter: name - the name of the recipie Parameter: block - the recipie block
134 135 136 137 138 |
# File 'lib/project.rb', line 134 def task(name, &block); unless @makers.has_key? name @makers[name] = TaskMaker.new &block end end |