Class: Torquebox::JobGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/torquebox/job/job_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_jobObject



5
6
7
# File 'lib/generators/torquebox/job/job_generator.rb', line 5

def generate_job
  template "job.rb.erb", "app/jobs/#{file_name}.rb"
end