diff options
author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-03 02:22:38 +0000 |
---|---|---|
committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-03 02:22:38 +0000 |
commit | d1a2925eee6a1d79f01c459024359bdfacb33de4 (patch) | |
tree | 6a3f799caa21d20e16c572c707aeea7d54d29870 /lib/rexml/attribute.rb | |
parent | 08cd3453b246e3c968d56ef1e7a4505378621db5 (diff) | |
download | ruby-d1a2925eee6a1d79f01c459024359bdfacb33de4.tar.gz |
* 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/trunk@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/attribute.rb')
-rw-r--r-- | lib/rexml/attribute.rb | 2 |
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 |