method
==
==(node)
public
Hide source
# File actionview/lib/action_view/vendor/html-scanner/html/node.rb, line 119 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