summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 05:27:54 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 05:27:54 +0000
commita2edc111a77f63740d338ba64b3a7edb72a1becc (patch)
tree4dbbc6e98bd92f655965da72712738140f7c01b8 /lib/irb
parent8424452c698aecb77c7f7d4af354a53f70d4f472 (diff)
merge revision(s) 54576:
* lib/irb/ext/save-history.rb: suppress warning: method redefined; discarding old save_history=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/ext/save-history.rb1
1 files changed, 1 insertions, 0 deletions
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.
#