Sha256: 0331e614e9a2645cedc8a37e88f3771f085fbe56b3d5c9a7494324a8accd0af5

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

module Archer
  class Engine < Rails::Engine
    console do
      Archer.history_file ||= Rails.root.join("tmp", ".irb-history")
      Archer.start

      at_exit do
        Archer.save
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
archer-rails-0.2.0 lib/archer/engine.rb
archer-rails-0.1.1 lib/archer/engine.rb
archer-rails-0.1.0 lib/archer/engine.rb