Class: Paperclip::DocsplitChaining
- Inherits:
-
Processor
- Object
- Processor
- Paperclip::DocsplitChaining
- Defined in:
- lib/docsplit-paperclip-processor.rb
Instance Attribute Summary collapse
-
#attachment ⇒ Object
Returns the value of attribute attachment.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(file, options = {}, attachment = nil) ⇒ DocsplitChaining
constructor
A new instance of DocsplitChaining.
- #make ⇒ Object
Constructor Details
#initialize(file, options = {}, attachment = nil) ⇒ DocsplitChaining
Returns a new instance of DocsplitChaining.
20 21 22 23 24 |
# File 'lib/docsplit-paperclip-processor.rb', line 20 def initialize(file, = {}, = nil) super @options = @attachment = end |
Instance Attribute Details
#attachment ⇒ Object
Returns the value of attribute attachment.
18 19 20 |
# File 'lib/docsplit-paperclip-processor.rb', line 18 def @attachment end |
#options ⇒ Object
Returns the value of attribute options.
18 19 20 |
# File 'lib/docsplit-paperclip-processor.rb', line 18 def @options end |
Instance Method Details
#make ⇒ Object
26 27 28 |
# File 'lib/docsplit-paperclip-processor.rb', line 26 def make .to_file([:from_style] || :original) end |