Method: Thor::Shell#initialize
- Defined in:
- lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb
#initialize(args = [], options = {}, config = {}) ⇒ Object
40 41 42 43 44 |
# File 'lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb', line 40 def initialize(args=[], ={}, config={}) super self.shell = config[:shell] self.shell.base ||= self if self.shell.respond_to?(:base) end |