class Refile::RandomHasher
A file hasher which ignores the file contents and always returns a random string.
Public Instance Methods
hash(_uploadable = nil)
click to toggle source
Generate a random string
@return [String]
# File lib/refile/random_hasher.rb, line 7 def hash(_uploadable = nil) SecureRandom.hex(30) end