summaryrefslogtreecommitdiffstats
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
commit4fd5febbaea77a724698e89e63656867c46d4812 (patch)
tree270e0aff01ca6b3e9caeefb94d08fc094b90d457 /lib/rexml/attribute.rb
parentdf3ad914a095502621a9a998e5fc3367fe82fd4f (diff)
downloadruby-4fd5febbaea77a724698e89e63656867c46d4812.tar.gz
ruby-4fd5febbaea77a724698e89e63656867c46d4812.tar.xz
ruby-4fd5febbaea77a724698e89e63656867c46d4812.zip
* 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: http://svn.ruby-lang.org/repos/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 4aef0944d..df07ce7a1 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