method

==

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: HTML::Node
==(node) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/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
Register or log in to add new notes.