1
0
Fork 0
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:
hsbt 2013-04-16 02:31:55 +00:00
parent 13d18f2775
commit bbf0ea6bfb

View file

@ -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