summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rexml/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index cacab221db..dfe6c19f07 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -17,7 +17,7 @@ module REXML
elsif arg.kind_of? Source
arg
else
- raise "#{source.class} is not a valid input stream. It must walk \n"+
+ raise "#{arg.class} is not a valid input stream. It must walk \n"+
"like either a String, IO, or Source."
end
end