method
style_url
v1_8_7_330 -
Show latest stable
- Class:
Generators::MarkUp
style_url(path, css_name=nil)public
Qualify a stylesheet URL; if if css_name does not begin with ‘/’ or ‘http[s]://’, prepend a prefix relative to path. Otherwise, return it unmodified.