Class: Bulldog::Processor::OneShot
- Defined in:
- lib/bulldog/processor/one_shot.rb
Instance Attribute Summary
Attributes inherited from Base
#attachment, #input_file, #style, #styles
Instance Method Summary collapse
-
#initialize(*args) ⇒ OneShot
constructor
A new instance of OneShot.
- #output_file(style_name) ⇒ Object
- #process(*args, &block) ⇒ Object
Methods inherited from Base
Constructor Details
Instance Method Details
#output_file(style_name) ⇒ Object
14 15 16 |
# File 'lib/bulldog/processor/one_shot.rb', line 14 def output_file(style_name) nil end |
#process(*args, &block) ⇒ Object
9 10 11 12 |
# File 'lib/bulldog/processor/one_shot.rb', line 9 def process(*args, &block) @style = nil process_style(&block) end |