From d1a2925eee6a1d79f01c459024359bdfacb33de4 Mon Sep 17 00:00:00 2001 From: ser Date: Sat, 3 Apr 2004 02:22:38 +0000 Subject: * 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 --- lib/rexml/attribute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rexml/attribute.rb') 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 -- cgit v1.2.3