Class: SuckerPunch::Generators::JobGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- SuckerPunch::Generators::JobGenerator
- Defined in:
- lib/generators/sucker_punch/job_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_job_file ⇒ Object
11 12 13 |
# File 'lib/generators/sucker_punch/job_generator.rb', line 11 def create_job_file template 'job.rb', File.join('app/jobs', class_path, "#{file_name}_job.rb") end |