Sha256: 317a4d61879e6a4c954f997877c38f5fb5b098a0e9a1ee128947afdd59ac2a3c
Contents?: true
Size: 343 Bytes
Versions: 1
Compression:
Stored size: 343 Bytes
Contents
module Archer class Engine < Rails::Engine console do # TODO remove in 0.3.0 Archer.history_file ||= Rails.root.join("tmp", ".irb-history") # need IRB context to be ready before Archer.start ::IRB::Irb.prepend(Archer::Irb) at_exit do Archer.save if Archer.save_session end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archer-rails-0.2.3 | lib/archer/engine.rb |