Method: Thor::Shell#initialize
- Defined in:
- lib/thor/shell.rb
#initialize(args = [], options = {}, config = {}) ⇒ Object
34 35 36 37 38 |
# File 'lib/thor/shell.rb', line 34 def initialize(args=[], ={}, config={}) super self.shell = config[:shell] self.shell.base ||= self if self.shell.respond_to?(:base) end |