Class: Leva::Generators::RunnerGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_runner_fileObject



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