Sha256: 5a8abdb995abf43409768d2f2ff1f0ed346f586eddbe5ad0cc7a57a3fdae4f35
Contents?: true
Size: 600 Bytes
Versions: 6
Compression:
Stored size: 600 Bytes
Contents
module RetinaRails module Extensions module Paperclip module Style 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 end # Style end # Paperclip end # Extensions end # RetinaRails
Version data entries
6 entries across 6 versions & 1 rubygems