class CabezaDeTermo::AssetsPublisher::StylesheetType
Public Instance Methods
collect_uri_from(rendering_scope)
click to toggle source
Collect the javascripts uri from the rendering_scope
# File lib/cabeza-de-termo/assets-publisher/assets/types/stylesheet-type.rb, line 11 def collect_uri_from(rendering_scope) rendering_scope_assets_collector.stylesheets_from rendering_scope end
compiler()
click to toggle source
# File lib/cabeza-de-termo/assets-publisher/assets/types/stylesheet-type.rb, line 15 def compiler() configuration.stylesheets_compiler end
html_for(asset_uri)
click to toggle source
# File lib/cabeza-de-termo/assets-publisher/assets/types/stylesheet-type.rb, line 6 def html_for(asset_uri) "<link href=\"#{asset_uri}\" type=\"text/css\" rel=\"stylesheet\">" end