Bug #1883 ยป rexml-hash.patch
c:/ruby/libs/ruby/1.8/rexml/attribute.rb | ||
---|---|---|
|
||
# Creates (and returns) a hash from both the name and value
|
||
def hash
|
||
name.hash + value.hash
|
||
name.hash ^ value.hash
|
||
end
|
||
|
||
# Returns this attribute out as XML source, expanding the name
|