Method: Paperclip::Style#geometry

Defined in:
lib/paperclip/style.rb

#geometryObject

returns the geometry string for this style if a proc has been supplied, we call it here



53
54
55
# File 'lib/paperclip/style.rb', line 53

def geometry
  @geometry.respond_to?(:call) ? @geometry.call(attachment.instance) : @geometry
end