diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 17:29:18 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 17:29:18 +0000 |
commit | e8a7607ed0e089c12e9e2df7bdd6c2efd2e58dd9 (patch) | |
tree | 538ff9f815daaf1f86858ec656af99a591127afc | |
parent | 585afbbc6a833e91cd2e51b8faeece2248c0cc16 (diff) |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/irb.rb | 2 | ||||
-rw-r--r-- | lib/irb/input-method.rb | 6 |
3 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +Sat Dec 22 02:29:00 2012 Zachary Scott <[email protected]> + + * 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 <[email protected]> * vm_dump.c (rb_vm_bugreport): revert r38533. diff --git a/lib/irb.rb b/lib/irb.rb index d212a314f8..5c8cb7043d 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -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 diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index e1a680847c..55363fe0c4 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -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 |