module RetinaRails::Extensions::Paperclip::Style
Public Class Methods
included(base)
click to toggle source
# File lib/retina_rails/extensions/paperclip.rb, line 6 def self.included base base.class_eval do alias_method :original_processor_options, :processor_options ## # Make sure to add the current style being processed to the args # so we can identify which style is being processed # def processor_options original_processor_options.merge!(:style => name) end end end
Public Instance Methods
processor_options()
click to toggle source
Make sure to add the current style being processed to the args so we can identify which style is being processed
# File lib/retina_rails/extensions/paperclip.rb, line 14 def processor_options original_processor_options.merge!(:style => name) end