module Shrine::UploadedFile::ClassMethods
Attributes
shrine_class[RW]
Returns the Shrine
class that this file class is namespaced under.
Public Instance Methods
inspect()
click to toggle source
Since UploadedFile
is anonymously subclassed when Shrine
is subclassed, and then assigned to a constant of the Shrine
subclass, make inspect reflect the likely name for the class.
# File lib/shrine/uploaded_file.rb, line 19 def inspect "#{shrine_class.inspect}::UploadedFile" end