Sha256: 4b8371bc46c2673ef01e7d9dd2429f86478654c48efc5501c60f3ec3944437e9
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require 'hpricot' module Hpricot class Text # # Returns +true+ if the text node has the same content the _other_ text # node, returns +false+ otherwise. # def eql?(other) return false unless self.class == other.class return content == other.content end alias == eql? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ronin-0.1.2 | lib/ronin/web/extensions/hpricot/text.rb |
ronin-0.1.3 | lib/ronin/web/extensions/hpricot/text.rb |