Module: Shrine::Plugins::Included::AttachmentMethods

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

Instance Method Summary collapse

Instance Method Details

#included(klass) ⇒ Object


13
14
15
16
17
# File 'lib/shrine/plugins/included.rb', line 13

def included(klass)
  super

  klass.instance_exec(@name, &shrine_class.opts[:included][:block])
end