Class: Dragonfly::Job::Generate

Inherits:
Step show all
Defined in:
lib/dragonfly/job.rb

Instance Attribute Summary

Attributes inherited from Step

#args, #job

Instance Method Summary collapse

Methods inherited from Step

abbreviation, basename, #init, #initialize, #inspect, step_name

Constructor Details

This class inherits a constructor from Dragonfly::Job::Step

Instance Method Details

#applyObject



101
102
103
104
# File 'lib/dragonfly/job.rb', line 101

def apply
  content, meta = job.app.generator.generate(*args)
  job.update(content, meta)
end