module StyleGuideAPI::Helpers
Public Instance Methods
style_css()
click to toggle source
# File lib/styleguide-api/helpers.rb, line 7 def style_css StyleGuideAPI.stylesheets.map do |url| %Q(<link href="#{url}" rel="stylesheet">) end.join("\n") end
style_template(name, locals = {}, &block)
click to toggle source
# File lib/styleguide-api/helpers.rb, line 3 def style_template(name, locals = {}, &block) StyleGuideAPI::render(name, locals, &block) end