From 1f872e54affa5588fd0defca34cefb12ba0dff16 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 14 Apr 2016 10:06:41 +0000 Subject: * lib/irb/ext/save-history.rb: suppress warning: method redefined; discarding old save_history=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/ext/save-history.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/irb') diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 236f00fb93..d6e9be7415 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -27,6 +27,7 @@ module IRB IRB.conf[:SAVE_HISTORY] end + remove_method :save_history= # Sets IRB.conf[:SAVE_HISTORY] to the given +val+ and calls # #init_save_history with this context. # -- cgit v1.2.3