Sha256: e90f94e9e80d29c6ebfeea35190fa64ab0f5f27d415bf59e66c64317279e4599
Contents?: true
Size: 391 Bytes
Versions: 7
Compression:
Stored size: 391 Bytes
Contents
# encoding: utf-8 module Nanoc3::Filters class Less < Nanoc3::Filter # Runs the content through [LESS](http://lesscss.org/). # This method takes no options. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, params={}) require 'less' ::Less::Engine.new(content).to_css end end end
Version data entries
7 entries across 7 versions & 1 rubygems