rexml-hash.patch
| c:/ruby/libs/ruby/1.8/rexml/attribute.rb | ||
|---|---|---|
| 93 | 93 |
|
| 94 | 94 |
# Creates (and returns) a hash from both the name and value |
| 95 | 95 |
def hash |
| 96 |
name.hash + value.hash
|
|
| 96 |
name.hash ^ value.hash
|
|
| 97 | 97 |
end |
| 98 | 98 |
|
| 99 | 99 |
# Returns this attribute out as XML source, expanding the name |