Class: Rascal::CLI::Shell
Instance Method Summary collapse
-
#initialize(thor, options, environment_name) ⇒ Shell
constructor
A new instance of Shell.
- #run ⇒ Object
Constructor Details
#initialize(thor, options, environment_name) ⇒ Shell
Returns a new instance of Shell.
6 7 8 9 |
# File 'lib/rascal/cli/shell.rb', line 6 def initialize(thor, , environment_name) @environment_name = environment_name super(thor, ) end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/rascal/cli/shell.rb', line 11 def run find_environment(@environment_name)&.run_shell end |