1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ser 2004-04-24 02:04:10 +00:00
parent fea9469fc6
commit 20ae8fed6b
7 changed files with 49 additions and 27 deletions

View file

@ -36,7 +36,7 @@ module REXML
elsif first.kind_of? String
@element = parent if parent.kind_of? Element
self.name = first
@value = second
@value = second.to_s
else
raise "illegal argument #{first.class.name} to Attribute constructor"
end