method
==
==(node)
public
Hide source
# File actionpack/lib/action_controller/vendor/html-scanner/html/node.rb, line 125 def ==(node) return false unless self.class == node.class && children.size == node.children.size equivalent = true children.size.times do |i| equivalent &&= children[i] == node.children[i] end equivalent end