ruby-changes:26493
From: zzak <ko1@a...>
Date: Sat, 22 Dec 2012 02:29:29 +0900 (JST)
Subject: [ruby-changes:26493] zzak:r38544 (trunk): * lib/irb/input-method.rb, lib/irb.rb: Typo in
zzak 2012-12-22 02:29:18 +0900 (Sat, 22 Dec 2012) New Revision: 38544 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38544 Log: * lib/irb/input-method.rb, lib/irb.rb: Typo in InputMethod#readable_atfer_eof? to #readable_after_eof? [ruby-core:51069] [Bug #7599] Modified files: trunk/ChangeLog trunk/lib/irb/input-method.rb trunk/lib/irb.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 38543) +++ ChangeLog (revision 38544) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Dec 22 02:29:00 2012 Zachary Scott <zachary@z...> + + * lib/irb/input-method.rb, lib/irb.rb: Typo in + InputMethod#readable_atfer_eof? to #readable_after_eof? + [ruby-core:51069] [Bug #7599] + Sat Dec 22 02:19:38 2012 KOSAKI Motohiro <kosaki.motohiro@g...> * vm_dump.c (rb_vm_bugreport): revert r38533. Index: lib/irb/input-method.rb =================================================================== --- lib/irb/input-method.rb (revision 38543) +++ lib/irb/input-method.rb (revision 38544) @@ -38,7 +38,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L38 # read. # # See IO#eof for more information. - def readable_atfer_eof? + def readable_after_eof? false end end @@ -74,7 +74,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L74 # read. # # See IO#eof for more information. - def readable_atfer_eof? + def readable_after_eof? true end @@ -170,7 +170,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L170 # read. # # See IO#eof for more information. - def readable_atfer_eof? + def readable_after_eof? true end Index: lib/irb.rb =================================================================== --- lib/irb.rb (revision 38543) +++ lib/irb.rb (revision 38544) @@ -459,7 +459,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L459 if l = @context.io.gets print l if @context.verbose? else - if @context.ignore_eof? and @context.io.readable_atfer_eof? + if @context.ignore_eof? and @context.io.readable_after_eof? l = "\n" if @context.verbose? printf "Use \"exit\" to leave %s\n", @context.ap_name -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/