Class: Leva::Generators::RunnerGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Leva::Generators::RunnerGenerator
- Defined in:
- lib/generators/leva/runner_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_runner_file ⇒ Object
8 9 10 |
# File 'lib/generators/leva/runner_generator.rb', line 8 def create_runner_file template 'runner.rb.erb', File.join('app/runners', class_path, "#{file_name}_run.rb") end |