mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fixed wrong value by @taksatou [fix GH-287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
13d18f2775
commit
bbf0ea6bfb
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class IO
|
|||
when Regexp
|
||||
e_pat = pat
|
||||
else
|
||||
raise TypeError, "unsupported pattern class: #{pattern.class}"
|
||||
raise TypeError, "unsupported pattern class: #{pat.class}"
|
||||
end
|
||||
@unusedBuf ||= ''
|
||||
while true
|
||||
|
|
Loading…
Add table
Reference in a new issue