Method: XRay::HTML::Document#==
- Defined in:
- lib/html/struct.rb
#==(other) ⇒ Object
158 159 160 161 162 163 164 165 166 |
# File 'lib/html/struct.rb', line 158 def ==(other) if other.is_a?(Array) return children == other elsif other.is_a?(Document) return children == other.children else super end end |