Class: SentimentalizerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SentimentalizerGenerator
- Defined in:
- lib/generators/sentimentalizer_generator.rb
Instance Method Summary collapse
-
#add_my_initializer ⇒ Object
all public methods in here will be run in order.
Instance Method Details
#add_my_initializer ⇒ Object
all public methods in here will be run in order
4 5 6 |
# File 'lib/generators/sentimentalizer_generator.rb', line 4 def add_my_initializer template "initializer.rb", "config/initializers/sentimentalizer_initializer.rb" end |