Sha256: 3eb0111648a2bc6d4a800288c8abc9c6574a2a34d32e689e6649b0550013da53
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require 'nokogiri' module Nokogiri module XML class Node # # Determines if the node is similar to another node. # # @return [Boolean] # Specifies whether the node is equal, in identity or value, to # another node. # # @api public # def ==(other) return false unless other (self.type == other.type) && (self.name == other.name) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nokogiri-ext-0.1.1 | lib/nokogiri/ext/equality/node.rb |