Class: Preseason::Recipe::Initializer

Inherits:
Preseason::Recipe show all
Defined in:
lib/preseason/recipe/initializer.rb

Instance Attribute Summary collapse

Attributes inherited from Preseason::Recipe

#config

Instance Method Summary collapse

Methods inherited from Preseason::Recipe

#initialize, #post_install_hook, #recipe_root

Methods included from Colorize

#ask, #readme, #yes?

Methods included from GeneratorContext

#method_missing

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 Attribute Details

#assetsObject

Returns the value of attribute assets.



2
3
4
# File 'lib/preseason/recipe/initializer.rb', line 2

def assets
  @assets
end

Instance Method Details

#prepareObject



4
5
6
7
# File 'lib/preseason/recipe/initializer.rb', line 4

def prepare
  precompile_assets
  initialize_assets
end