Method: XRay::HTML::Element#==

Defined in:
lib/html/struct.rb

#==(other) ⇒ Object



76
77
78
# File 'lib/html/struct.rb', line 76

def ==(other)
  other.is_a?(Element) and tag_name == tag_name.to_s && prop_text == other.prop_text && inner_html == other.inner_html
end