Class: Treebis::TaskSet
- Inherits:
-
Object
- Object
- Treebis::TaskSet
- Defined in:
- lib/treebis.rb
Instance Method Summary collapse
- #[](name) ⇒ Object
-
#initialize ⇒ TaskSet
constructor
A new instance of TaskSet.
- #task(name, &block) ⇒ Object
Constructor Details
#initialize ⇒ TaskSet
Returns a new instance of TaskSet.
553 554 555 |
# File 'lib/treebis.rb', line 553 def initialize @tasks = {} end |
Instance Method Details
#[](name) ⇒ Object
560 561 562 |
# File 'lib/treebis.rb', line 560 def [](name) @tasks[name] end |