Class: DelayedJobGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/delayed_job/delayed_job_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_script_fileObject



7
8
9
10
# File 'lib/generators/delayed_job/delayed_job_generator.rb', line 7

def create_script_file
  template 'script', 'script/delayed_job'
  chmod 'script/delayed_job', 0755
end