aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-14 10:06:41 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-14 10:06:41 +0000
commitaf24631af6e4867dcaa893de363d6b8805f3f9f9 (patch)
tree9f36b8c31e63867c5943696d7bf0c24b14913c10
parent31a3a862d6bd87817e494d60c3e8eb8a1025e5d2 (diff)
downloadruby-af24631af6e4867dcaa893de363d6b8805f3f9f9.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/irb/ext/save-history.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1481bc064d..56a9bf1d88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 14 19:02:41 2016 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * lib/irb/ext/save-history.rb: suppress warning: method redefined;
+ discarding old save_history=.
+
Thu Apr 14 14:58:14 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be
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 <code>IRB.conf[:SAVE_HISTORY]</code> to the given +val+ and calls
# #init_save_history with this context.
#