Class: Operations::Generators::RegisterGenerator

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

Instance Method Summary collapse

Instance Method Details

#generate_filesObject



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

def generate_files
  super

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