Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Paperclip
- class MyProcessor < Processor
- def initialize(file, options, attachment)
- super
- @my_file = file
- @instance = options[:instance]
- @options = options
- @current_format = File.extname(@file.path)
- @basename = File.basename(@file.path, @current_format)
- end
- def make
- puts "called make ----------------"
- @my_file
- end
- end
Add Comment
Please, Sign In to add comment