module Shrine::Plugins::RemoveAttachment::AttacherMethods
Public Instance Methods
Source
# File lib/shrine/plugins/remove_attachment.rb 23 def remove=(value) 24 @remove = value 25 26 change(nil) if remove? 27 end
We remove the attachment if the value evaluates to true.