Class: BatchProcessor::Generators::BatchProcessorGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- BatchProcessor::Generators::BatchProcessorGenerator
- Defined in:
- lib/generators/batch_processor/batch_processor_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_application_flow ⇒ Object
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 |