Sha256: 9af458fc1952c985fe85486ff54eb548acc6f5e46b58f84d7f86e688c422e69a

Contents?: true

Size: 505 Bytes

Versions: 12

Compression:

Stored size: 505 Bytes

Contents

module Lanes
    module Command

        class Console < Thor::Group
            include Thor::Actions

            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

        end
    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lanes-0.8.3 lib/lanes/command/console.rb
lanes-0.8.2 lib/lanes/command/console.rb
lanes-0.8.1 lib/lanes/command/console.rb
lanes-0.8.0 lib/lanes/command/console.rb
lanes-0.7.0 lib/lanes/command/console.rb
lanes-0.6.1 lib/lanes/command/console.rb
lanes-0.6.0 lib/lanes/command/console.rb
lanes-0.5.6 lib/lanes/command/console.rb
lanes-0.5.5 lib/lanes/command/console.rb
lanes-0.5.0 lib/lanes/command/console.rb
lanes-0.4.0 lib/lanes/command/console.rb
lanes-0.3.0 lib/lanes/command/console.rb