Class: Cockroach::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_configObject

all public methods in here will be run in order



11
12
13
# File 'lib/generators/cockroach/install_generator.rb', line 11

def copy_config
  template "faker.yml", "config/faker.yml"
end

#copy_initializerObject



15
16
17
# File 'lib/generators/cockroach/install_generator.rb', line 15

def copy_initializer
  template "cockroach.rb", "config/initializers/cockroach.rb"
end