Class: Koala::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Koala::Generators::InstallGenerator
- Extended by:
- TemplatePath
- Defined in:
- lib/generators/koala/install/install_generator.rb
Instance Method Summary collapse
Methods included from TemplatePath
Instance Method Details
#copy_config_file ⇒ Object
8 9 10 |
# File 'lib/generators/koala/install/install_generator.rb', line 8 def copy_config_file template "config/facebook.yml.tt", "config/facebook.yml" end |
#copy_helper_file ⇒ Object
16 17 18 |
# File 'lib/generators/koala/install/install_generator.rb', line 16 def copy_helper_file template "app/helpers/facebook_helper.rb.tt", "app/helpers/facebook_helper.rb" end |
#copy_initializer_file ⇒ Object
12 13 14 |
# File 'lib/generators/koala/install/install_generator.rb', line 12 def copy_initializer_file template "config/initializers/koala.rb.tt", "config/initializers/koala.rb" end |