module Shrine::Plugins::RackFile::AttacherMethods
Public Instance Methods
Source
# File lib/shrine/plugins/rack_file.rb 27 def assign(value, **) 28 if rack_file?(value) 29 assign shrine_class.rack_file(value), ** 30 else 31 super 32 end 33 end
Checks whether a file is a Rack file hash, and in that case wraps the hash in an IO-like object.
Calls superclass method