Sha256: 29d22360a0ec71376a5ecbc925e237f422652599ad5253eaab6624980718045e
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
require 'nokogiri' module Nokogiri module XML class Attr < Node # # Determines if the attribute is similar to another attribute. # # @param [Nokogiri::XML::Attr] other # The other attribute. # # @return [Boolean] # Specifies if the attribute is similar, in identity or value, # to the other attribute. # # @api public # def ==(other) super(other) && (self.value == other.value) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nokogiri-ext-0.1.0 | lib/nokogiri/ext/equality/attr.rb |