Module: Shrine::Plugins::AddMetadata::FileMethods

Defined in:
lib/shrine/plugins/add_metadata.rb

Instance Method Summary collapse

Instance Method Details

#add_metadata(new_metadata, &block) ⇒ Object


68
69
70
# File 'lib/shrine/plugins/add_metadata.rb', line 68

def (, &block)
  @metadata = @metadata.merge(, &block)
end