lib/phash/image.rb in pHash-1.1.5 vs lib/phash/image.rb in pHash-1.2.0
- old
+ new
@@ -43,9 +43,14 @@
end
end
# Class to store image hash and compare to other
class ImageHash < HashData
+ private
+
+ def to_s
+ format('%016x', data)
+ end
end
# Class to store image file hash and compare to other
class Image < FileHash
end