lib/paperclip/style.rb in paperclip-3.0.4 vs lib/paperclip/style.rb in paperclip-3.1.0
- old
+ new
@@ -50,15 +50,15 @@
def whiny?
!!whiny
end
def convert_options
- @convert_options.respond_to?(:call) ? @convert_options.call(attachment.instance) :
+ @convert_options.respond_to?(:call) ? @convert_options.call(attachment.instance) :
(@convert_options || attachment.send(:extra_options_for, name))
end
def source_file_options
- @source_file_options.respond_to?(:call) ? @source_file_options.call(attachment.instance) :
+ @source_file_options.respond_to?(:call) ? @source_file_options.call(attachment.instance) :
(@source_file_options || attachment.send(:extra_source_file_options_for, name))
end
# returns the geometry string for this style
# if a proc has been supplied, we call it here