class Lanes::Command::Console

Public Instance Methods

start() click to toggle source
# 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