Method: Jagger::Builder#initialize
- Defined in:
- lib/jagger/builder.rb
#initialize(&block) ⇒ Builder
Public: Constructor. Initializes application and the assets pipeline. Passed block accepts custom configuration.
23 24 25 26 |
# File 'lib/jagger/builder.rb', line 23 def initialize(&block) app.instance_eval(&block) if block_given? assets.append_paths(app.asset_paths) end |