Class: Cockroach::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cockroach::Generators::InstallGenerator
- Defined in:
- lib/generators/cockroach/install_generator.rb
Instance Method Summary collapse
-
#copy_config ⇒ Object
all public methods in here will be run in order.
- #copy_initializer ⇒ Object
Instance Method Details
#copy_config ⇒ Object
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_initializer ⇒ Object
15 16 17 |
# File 'lib/generators/cockroach/install_generator.rb', line 15 def copy_initializer template "cockroach.rb", "config/initializers/cockroach.rb" end |