Sha256: 1e2952eef23512ab289c519f1a70110c873605ec34a6e07ba3ffa9695644a0b6

Contents?: true

Size: 469 Bytes

Versions: 10

Compression:

Stored size: 469 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
                ARGV.clear
                IRB.start
            end

        end
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lanes-0.1.9.5 lib/lanes/command/console.rb
lanes-0.1.9 lib/lanes/command/console.rb
lanes-0.1.8 lib/lanes/command/console.rb
lanes-0.1.7 lib/lanes/command/console.rb
lanes-0.1.6 lib/lanes/command/console.rb
lanes-0.1.5 lib/lanes/command/console.rb
lanes-0.1.2 lib/lanes/command/console.rb
lanes-0.1.0 lib/lanes/command/console.rb
lanes-0.0.8 lib/lanes/command/console.rb
lanes-0.0.5 lib/lanes/command/console.rb