Class: Rodbot::CLI::Commands::Console
- Inherits:
-
Rodbot::CLI::Command
- Object
- Dry::CLI::Command
- Rodbot::CLI::Command
- Rodbot::CLI::Commands::Console
- Defined in:
- lib/rodbot/cli/commands/console.rb
Instance Method Summary collapse
Methods inherited from Rodbot::CLI::Command
Instance Method Details
#rescued_call ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/rodbot/cli/commands/console.rb', line 11 def rescued_call(**) Rodbot.boot Rodbot::SERVICES.each { "rodbot/services/#{_1}".constantize } require 'irb' IRB.setup nil IRB.conf[:MAIN_CONTEXT] = IRB::Irb.new.context require 'irb/ext/multi-irb' IRB.irb nil, Rodbot end |