Class: SentimentalizerGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/sentimentalizer_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_my_initializerObject

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