class Phash::TextHash

Class to store text hash and compare to other

Private Instance Methods

to_s() click to toggle source
# File lib/phash/text.rb, line 88
def to_s
  length.times.map do |i|
    p = TxtHashPoint.new(data + TxtHashPoint.size * i)
    format('%016x(%i)', p[:hash], p[:index])
  end.join(' ')
end