module ActionView::Helpers::AssetTagHelper
Private Instance Methods
join_asset_file_contents_with_minification(paths)
click to toggle source
# File lib/smurf.rb, line 12 def join_asset_file_contents_with_minification(paths) content = join_asset_file_contents_without_minification(paths) minifiers.detect { |minifier| minifier.minifies?(paths) }.new(content).minified end
minifiers()
click to toggle source
# File lib/smurf.rb, line 8 def minifiers @@minifiers ||= [Smurf::Javascript, Smurf::Stylesheet, Smurf::Noop] end