Class: Organizai::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Organizai::Generators::InstallGenerator
- Defined in:
- lib/generators/organizai/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
11 12 13 |
# File 'lib/generators/organizai/install_generator.rb', line 11 def copy_initializer template "organizai.rb", "config/initializers/organizai.rb" end |
#show_readme ⇒ Object
15 16 17 |
# File 'lib/generators/organizai/install_generator.rb', line 15 def show_readme readme "README" if behavior == :invoke end |