Class: Operations::Generators::OperationGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
Base::Generators::BaseGenerator
Defined in:
lib/operations/generators/operation_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_filesObject



14
15
16
17
18
# File 'lib/operations/generators/operation_generator.rb', line 14

def generate_files
  super

  template "operation.rb.erb", "#{root_file_path}/operations/#{plural_name}/#{verb}/operation.rb"
end