Class: Racecar::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/racecar/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_config_fileObject



8
9
10
# File 'lib/generators/racecar/install_generator.rb', line 8

def create_config_file
  template "racecar.yml.erb", "config/racecar.yml"
end

#create_consumers_directoryObject



12
13
14
# File 'lib/generators/racecar/install_generator.rb', line 12

def create_consumers_directory
  empty_directory "app/consumers"
end