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