mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
r1361@bean: ser | 2007-10-01 21:24:28 -0400
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
209b950f3f
commit
efe8edf32c
5 changed files with 39 additions and 68 deletions
|
@ -17,8 +17,8 @@ module REXML
|
|||
elsif arg.kind_of? Source
|
||||
arg
|
||||
else
|
||||
raise "#{source.class} is not a valid input stream. It must walk \n"+
|
||||
"like either a String, IO, or Source."
|
||||
raise "#{arg.class} is not a valid input stream. It must walk \n"+
|
||||
"like either a String, an IO, or a Source."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue