Class: Wicked::Pipeline::StepGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/wicked/pipeline/step/step_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_step_fileObject



14
15
16
# File 'lib/generators/wicked/pipeline/step/step_generator.rb', line 14

def create_step_file
  template "step.rb", File.join("app/steps", class_path, "#{file_name}_step.rb")
end