Module: Sinatra::Minify::Helpers

Defined in:
lib/sinatra/minify/helpers.rb

Instance Method Summary collapse

Instance Method Details

#css_assets(set) ⇒ Object



8
9
10
# File 'lib/sinatra/minify/helpers.rb', line 8

def css_assets(set)
  Package.new(:css, set, self.class).html
end

#js_assets(set) ⇒ Object



4
5
6
# File 'lib/sinatra/minify/helpers.rb', line 4

def js_assets(set)
  Package.new(:js, set, self.class).html
end