Class: Noticed::Generators::ModelGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Noticed::Generators::ModelGenerator
- Includes:
- Rails::Generators::ResourceHelpers
- Defined in:
- lib/generators/noticed/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_migrations ⇒ Object
10 11 12 |
# File 'lib/generators/noticed/install_generator.rb', line 10 def create_migrations rails_command "railties:install:migrations FROM=noticed", inline: true end |
#done ⇒ Object
14 15 16 |
# File 'lib/generators/noticed/install_generator.rb', line 14 def done readme "README" if behavior == :invoke end |