Class: Kitchen::ThorTasks
- Inherits:
-
Thor
- Object
- Thor
- Kitchen::ThorTasks
- Defined in:
- lib/kitchen/thor_tasks.rb
Overview
Kitchen Thor task generator.
Instance Method Summary collapse
-
#initialize(*args) {|self| ... } ⇒ ThorTasks
constructor
Creates Kitchen Thor tasks and allows the callee to configure it.
Constructor Details
#initialize(*args) {|self| ... } ⇒ ThorTasks
Creates Kitchen Thor tasks and allows the callee to configure it.
32 33 34 35 36 37 38 |
# File 'lib/kitchen/thor_tasks.rb', line 32 def initialize(*args) super @config = Kitchen::Config.new Kitchen.logger = Kitchen.default_file_logger(nil, false) yield self if block_given? define end |