Class: Dragonfly::Job::Generate
Instance Attribute Summary
Attributes inherited from Step
Instance Method Summary collapse
Methods inherited from Step
abbreviation, basename, #initialize, #inspect, step_name, #update_temp_object
Constructor Details
This class inherits a constructor from Dragonfly::Job::Step
Instance Method Details
#apply(job) ⇒ Object
95 96 97 98 |
# File 'lib/dragonfly/job.rb', line 95 def apply(job) content, extra = job.app.generator.generate(*args) job.temp_object = TempObject.new(content, extra) end |