Sha256: c55c7ab66f390e2d8debd2d10630cc1abe27782509cb264c64c660ebf7cb5e25
Contents?: true
Size: 242 Bytes
Versions: 22
Compression:
Stored size: 242 Bytes
Contents
module Sinatra::AssetPack class LessEngine < Engine def css(str, options={}) Tilt.new("less", {:style => :compressed}) { str }.render rescue LoadError nil end end Compressor.register :css, :less, LessEngine end
Version data entries
22 entries across 22 versions & 2 rubygems