Class: Operations::Generators::ActionGenerator

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

Instance Method Summary collapse

Instance Method Details

#generate_filesObject



10
11
12
13
14
# File 'lib/operations/generators/action_generator.rb', line 10

def generate_files
  super

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