summaryrefslogtreecommitdiff
path: root/lib/rexml/attribute.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-03 02:22:38 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-03 02:22:38 +0000
commite04fdbb500aa311171c1b2d2267af53693118738 (patch)
tree270e0aff01ca6b3e9caeefb94d08fc094b90d457 /lib/rexml/attribute.rb
parent293efd9fc0e0f6c92dfe3f7b8fe4fb5bf9d6498a (diff)
* Fixed a bug in the evaluation of XPath's 'or'
* deprecated #type changed to class.name * XPath's union was was being incorrectly interpreted git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/attribute.rb')
-rw-r--r--lib/rexml/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb
index 4aef0944dc..df07ce7a18 100644
--- a/lib/rexml/attribute.rb
+++ b/lib/rexml/attribute.rb
@@ -38,7 +38,7 @@ module REXML
self.name = first
@value = second
else
- raise "illegal argument #{first.type} to Attribute constructor"
+ raise "illegal argument #{first.class.name} to Attribute constructor"
end
end