Class: BrilloConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- BrilloConfigGenerator
- Defined in:
- lib/generators/brillo.rb
Instance Method Summary collapse
Instance Method Details
#create_initializer_file ⇒ Object
5 6 7 8 |
# File 'lib/generators/brillo.rb', line 5 def create_initializer_file copy_file "config/brillo-example.yml", "config/brillo.yml" copy_file "config/brillo-initializer.rb", "config/initializers/brillo.rb" end |