Sha256: ca68f4c49889adf9a5ddd89856c3fe67464fab3f0ba16014685ca15d13097928
Contents?: true
Size: 359 Bytes
Versions: 5
Compression:
Stored size: 359 Bytes
Contents
include_set Type::Css format do view :core, cache: :never do |_args| compile_scss(process_content _render_raw) end def compile_scss scss, style=:expanded Sass.compile scss, style: style rescue Sass::SyntaxError => e raise Card::Error, "Sass::SyntaxError (#{card.name}:#{e.sass_line}): " \ "#{e.message}" end end
Version data entries
5 entries across 5 versions & 1 rubygems