Sha256: f7e8a8d93bdc6711af4f17f3efaaf5760317e1331ccb2df02f1fc08b0c0957a3
Contents?: true
Size: 258 Bytes
Versions: 16
Compression:
Stored size: 258 Bytes
Contents
module Refile # A file hasher which ignores the file contents and always returns a random string. class RandomHasher # Generate a random string # # @return [String] def hash(_uploadable = nil) SecureRandom.hex(30) end end end
Version data entries
16 entries across 16 versions & 2 rubygems