ruby-changes:42502
From: naruse <ko1@a...>
Date: Thu, 14 Apr 2016 18:10:04 +0900 (JST)
Subject: [ruby-changes:42502] naruse:r54576 (trunk): * lib/irb/ext/save-history.rb: suppress warning: method redefined;
naruse 2016-04-14 19:06:41 +0900 (Thu, 14 Apr 2016) New Revision: 54576 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54576 Log: * lib/irb/ext/save-history.rb: suppress warning: method redefined; discarding old save_history=. Modified files: trunk/ChangeLog trunk/lib/irb/ext/save-history.rb Index: lib/irb/ext/save-history.rb =================================================================== --- lib/irb/ext/save-history.rb (revision 54575) +++ lib/irb/ext/save-history.rb (revision 54576) @@ -27,6 +27,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/save-history.rb#L27 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. # Index: ChangeLog =================================================================== --- ChangeLog (revision 54575) +++ ChangeLog (revision 54576) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Apr 14 19:02:41 2016 NARUSE, Yui <naruse@r...> + + * lib/irb/ext/save-history.rb: suppress warning: method redefined; + discarding old save_history=. + Thu Apr 14 14:58:14 2016 Nobuyoshi Nakada <nobu@r...> * ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/