Class: Preseason::Recipe::Production
- Inherits:
-
Preseason::Recipe
- Object
- Preseason::Recipe
- Preseason::Recipe::Production
- Defined in:
- lib/preseason/recipe/production.rb
Constant Summary collapse
- PRODUCTION =
'config/environments/production.rb'
Instance Attribute Summary
Attributes inherited from Preseason::Recipe
Instance Method Summary collapse
Methods inherited from Preseason::Recipe
#initialize, #post_install_hook, #recipe_root
Methods included from Colorize
Methods included from GeneratorContext
Constructor Details
This class inherits a constructor from Preseason::Recipe
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Preseason::GeneratorContext
Instance Method Details
#prepare ⇒ Object
4 5 6 7 8 |
# File 'lib/preseason/recipe/production.rb', line 4 def prepare enable_lograge unless config.heroku.use? configure_heroku_rails_deflate add_precompile_assets end |