class SassCompiler
Public Instance Methods
compile(path)
click to toggle source
# File lib/gumdrop/support/stitch.rb, line 143 def compile(path) export_js_code path end
transpile(content, ext)
click to toggle source
# File lib/gumdrop/support/stitch.rb, line 147 def transpile(content, ext) type = (ext == '.sass') ? :sass : :scss Sass::Engine.new(content, :syntax=>type).render end