Class: BrilloConfigGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



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