lib/attached/processor/base.rb in attached-1.0.4 vs lib/attached/processor/base.rb in attached-1.0.5

- old
+ new

@@ -1,15 +1,13 @@ module Attached module Processor class Base - attr_accessor :file attr_accessor :options attr_accessor :attachment - # Create and run a processor. # # Parameters: # # * file - The file to be processed. @@ -18,11 +16,10 @@ def self.process(file, options = {}, attachment = nil) new(file, options, attachment).process end - # Create a processor. # # Parameters: # # * file - The file to be processed. @@ -33,16 +30,14 @@ @file = file @options = options @attachment = attachment end - # Run the processor. def process raise NotImplementedError.new end - end end end