Sha256: 139fddf11d602b6b01ee139ad89cef22659a61b06d2d6070339f994295bb1325
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
require 'nokogiri' module Nokogiri module XML class Text < CharacterData # # Determines if the text node is similar to another text node. # # @param [Nokogiri::XML::Text] other # The other text node. # # @return [Boolean] # Specifies if the text node is similar, in identity or value, # to the other text node. # # @api public # def ==(other) super(other) && (self.content == other.content) 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/text.rb |