lib/archer.rb in archer-rails-0.2.2 vs lib/archer.rb in archer-rails-0.2.3

- old
+ new

@@ -13,10 +13,13 @@ self.limit = 200 mattr_accessor :user self.user = ENV["USER"] + mattr_accessor :save_session + self.save_session = true + # TODO remove in 0.3.0 mattr_accessor :history_file def self.clear quietly do @@ -52,9 +55,10 @@ rescue ActiveRecord::StatementInvalid warn "[archer] Unable to save history" end # private + # TODO use IRB.CurrentContext.io.class::HISTORY def self.history_object reline? ? Reline::HISTORY : Readline::HISTORY end # private