Class: CheddargetterGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- CheddargetterGenerator
- Defined in:
- lib/generators/cheddargetter/cheddargetter_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_config ⇒ Object
8 9 10 |
# File 'lib/generators/cheddargetter/cheddargetter_generator.rb', line 8 def generate_config copy_file "cheddargetter.yml", "config/cheddargetter.yml" end |
#generate_initializer ⇒ Object
4 5 6 |
# File 'lib/generators/cheddargetter/cheddargetter_generator.rb', line 4 def generate_initializer copy_file "cheddargetter_client.rb", "config/initializers/cheddargetter_client.rb" end |