Class: ScaffoldPlus::Generators::GeocoderInitGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ScaffoldPlus::Generators::GeocoderInitGenerator
- Defined in:
- lib/generators/scaffold_plus/geocoder_init/geocoder_init_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_initializer ⇒ Object
13 14 15 |
# File 'lib/generators/scaffold_plus/geocoder_init/geocoder_init_generator.rb', line 13 def add_initializer template "geocoder.rb", "config/initializers/geocoder.rb" end |