Class: Lanes::Command::Console
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Lanes::Command::Console
- Includes:
- Thor::Actions
- Defined in:
- lib/lanes/command/console.rb
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/lanes/command/console.rb', line 7 def start Command.load_current_extension require 'irb' require 'irb/completion' require 'pp' DB.establish_connection ActiveRecord::Base.logger = Logger.new STDOUT Configuration.apply ARGV.clear IRB.start end |