Module: Less

Extended by:
Defaults
Defined in:
lib/less.rb,
lib/less/errors.rb,
lib/less/loader.rb,
lib/less/parser.rb,
lib/less/version.rb,
lib/less/defaults.rb

Overview

only exists to stop errors with jekyll-assets

Defined Under Namespace

Modules: Defaults Classes: Loader, ParseError, Parser, Result, Tree

Constant Summary collapse

VERSION =
'2.6.0.3'.freeze

Class Method Summary collapse

Methods included from Defaults

custom_functions, defaults, paths

Class Method Details

.compile(css, options = {}) ⇒ Object



14
15
16
# File 'lib/less.rb', line 14

def self.compile(css, options = {})
  Parser.new(options).parse(css).to_css
end

.lib_pathsObject



18
19
20
21
22
23
24
# File 'lib/less.rb', line 18

def self.lib_paths
  [
    File.expand_path('../less/js/less/lib', __FILE__),
    File.expand_path('../less/js/node-mime', __FILE__),
    File.expand_path('../less/js', __FILE__)
  ]
end