Class: Jirafe::Asset

Inherits:
Object
  • Object
show all
Defined in:
lib/jirafe/asset.rb

Class Method Summary collapse

Class Method Details

.css_url_for(component, platform) ⇒ Object



8
9
10
# File 'lib/jirafe/asset.rb', line 8

def css_url_for(component, platform)
  [base_url, component, "css", "#{platform}_ui.css"].join("/")
end

.js_url_for(component, platform) ⇒ Object



4
5
6
# File 'lib/jirafe/asset.rb', line 4

def js_url_for(component, platform)
  [base_url, component, "js", "#{platform}_ui.js"].join("/")
end