Sha256: e1e2de6dfdaf7eb65f33dfe8aeafb2d6b7ef7911d74b26d32e3133b7cb10872b
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
require "sass" class Stormy::Engines::Sass < Stormy::Engines::Base def render(body,bindings,&block) engine = Sass::Engine.new(body, syntax: :scss, load_paths: [ @app.join("public/assets") ] ) engine.render end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stormy-0.0.1 | lib/stormy/engines/sass.rb |