Method: Thor::Shell#shell

Defined in:
lib/thor/shell.rb

#shellObject

Holds the shell for the given Thor instance. If no shell is given, it gets a default shell from Thor::Base.shell.



43
44
45
# File 'lib/thor/shell.rb', line 43

def shell
  @shell ||= Thor::Base.shell.new
end