Class: Hanami::CLI::Commands::Console Private
- Defined in:
- lib/hanami/cli/commands/console.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: CodeReloading
Constant Summary collapse
- ENGINES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Supported engines
{ 'pry' => 'Pry', 'ripl' => 'Ripl', 'irb' => 'IRB' }.freeze
- DEFAULT_ENGINE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
['irb'].freeze
Instance Method Summary collapse
- #call(options) ⇒ Object private
Methods inherited from Command
Constructor Details
This class inherits a constructor from Hanami::CLI::Commands::Command
Instance Method Details
#call(options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
47 48 49 50 51 52 |
# File 'lib/hanami/cli/commands/console.rb', line 47 def call() context = Context.new(options: ) prepare engine(context).start end |