Class: SimpleChangelog::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SimpleChangelog::Generators::InstallGenerator
- Defined in:
- lib/generators/simple_changelog/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#mount_engine ⇒ Object
8 9 10 |
# File 'lib/generators/simple_changelog/install_generator.rb', line 8 def mount_engine route 'mount SimpleChangelog::Engine => \'/changelog\', as: \'simple_changelog\'' end |
#show_readme ⇒ Object
12 13 14 |
# File 'lib/generators/simple_changelog/install_generator.rb', line 12 def show_readme readme 'README' if behavior == :invoke end |