1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/irb/input-method.rb, lib/irb.rb: Typo in

InputMethod#readable_atfer_eof? to #readable_after_eof?
  [ruby-core:51069] [Bug #7599]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2012-12-21 17:29:18 +00:00
parent 585afbbc6a
commit e8a7607ed0
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
Sat Dec 22 02:29:00 2012 Zachary Scott <zachary@zacharyscott.net>
* 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@gmail.com>
* vm_dump.c (rb_vm_bugreport): revert r38533.

View file

@ -459,7 +459,7 @@ module IRB
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

View file

@ -38,7 +38,7 @@ module IRB
# read.
#
# See IO#eof for more information.
def readable_atfer_eof?
def readable_after_eof?
false
end
end
@ -74,7 +74,7 @@ module IRB
# read.
#
# See IO#eof for more information.
def readable_atfer_eof?
def readable_after_eof?
true
end
@ -170,7 +170,7 @@ module IRB
# read.
#
# See IO#eof for more information.
def readable_atfer_eof?
def readable_after_eof?
true
end