method

hash

ruby latest stable - Class: REXML::Attribute
hash()
public

Creates (and returns) a hash from both the name and value