Class: Devise::Generators::RoguelyticsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Devise::Generators::RoguelyticsGenerator
- Defined in:
- lib/generators/roguelytics/initializer_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_initializer_file ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/generators/roguelytics/initializer_generator.rb', line 8 def create_initializer_file create_file "config/initializers/roguelytics.rb", " # # Roguelytics Initializer # ROGUELYTICS_SITEKEY = '' if Rails.env.production? ROGUELYTICS_SITEKEY = '' if Rails.env.staging? ROGUELYTICS_SITEKEY = '' if Rails.env.development? ROGUELYTICS_SITEKEY = '' if Rails.env.qa? ROGUELYTICS_SITEKEY = '' if Rails.env.test? " end |