Rails::Railtie
TODO: Get rid of config.assets.enabled
# File lib/sprockets/railtie.rb, line 96 def expand_css_compressor(sym) case sym when :yui require 'yui/compressor' YUI::CssCompressor.new else sym end end
# File lib/sprockets/railtie.rb, line 80 def expand_js_compressor(sym) case sym when :closure require 'closure-compiler' Closure::Compiler.new when :uglifier require 'uglifier' Uglifier.new when :yui require 'yui/compressor' YUI::JavaScriptCompressor.new else sym end end
Generated with the Darkfish Rdoc Generator 2.