Module: Stylesheet

Extended by:
Base
Defined in:
lib/assets/stylesheet.rb

Class Method Summary collapse

Methods included from Base

bundle, compress

Class Method Details

.sourcesObject



4
5
6
# File 'lib/assets/stylesheet.rb', line 4

def self.sources
  Assets.config['css']
end

.tag(url) ⇒ Object



8
9
10
# File 'lib/assets/stylesheet.rb', line 8

def self.tag(url)
  "<link href='#{url}' rel='stylesheet' type='text/css' />"
end

.url_path(asset_name) ⇒ Object



12
13
14
# File 'lib/assets/stylesheet.rb', line 12

def self.url_path(asset_name)
  "/stylesheets/#{asset_name}.css"
end