Class: BatchProcessor::Generators::BatchProcessorGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/batch_processor/batch_processor_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_application_flowObject



10
11
12
# File 'lib/generators/batch_processor/batch_processor_generator.rb', line 10

def create_application_flow
  template "batch.rb.erb", File.join("app/batches/", class_path, "#{file_name}_batch.rb")
end