Method: REXML::Attribute#==

Defined in:
lib/extensions/rexml/rexml/attribute.rb,
lib/extensions/rhoxml/rexml/attribute.rb

#==(other) ⇒ Object

Returns true if other is an Attribute and has the same name and value, false otherwise.



92
93
94
# File 'lib/extensions/rexml/rexml/attribute.rb', line 92

def ==( other )
  other.kind_of?(Attribute) and other.name==name and other.value==value
end