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