Class: KaveRestApi::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- KaveRestApi::Generators::InstallGenerator
- Defined in:
- lib/generators/kavenegar-ruby/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/generators/kavenegar-ruby/install_generator.rb', line 7 def copy_initializer template "kavenegar-ruby_initializer.rb", "config/initializers/kavenegar-ruby.rb" puts <<~EOF \e[36mInstall complete 👻 \e[0m For report issues or suggest feature contact me on twitter/github: \e[32m@mm580486\e[0m EOF end |