Module: Fusion
- Defined in:
- lib/basic.rb,
lib/quick.rb,
lib/fusion.rb,
lib/pretty.rb,
lib/optimized.rb
Defined Under Namespace
Classes: AdvancedOptimized, Basic, Optimized, Pretty, Quick
Class Method Summary collapse
Class Method Details
.configure(options) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fusion.rb', line 8 def configure() @options ||= {} @options.update() if @options[:bundle_file_path].nil? && @options[:bundle_configs].nil? raise Exception("Configuration error -- must specify #{:bundle_file_path} when configuring Fusion javascript bundler") end @options[:project_path] = File.join(@options[:bundle_file_path].split("/")[0..-2]) if @options[:bundle_file_path] end |