diff options
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 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 |