Sha256: 4df30d8162cd32b603371e272d86d7c2e86de2748f08e81c1ce746be89c0f028
Contents?: true
Size: 877 Bytes
Versions: 26
Compression:
Stored size: 877 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), 'vendor', 'treetop', 'lib'), File.dirname(__FILE__) require 'cgi' require 'treetop' require 'delegate' LESS_ROOT = File.expand_path(File.dirname(__FILE__)) LESS_PARSER = File.join(LESS_ROOT, 'less', 'engine', 'parser.rb') LESS_GRAMMAR = File.join(LESS_ROOT, 'less', 'engine', 'grammar') require 'ext' require 'less/command' require 'less/engine' module Less MixedUnitsError = Class.new(RuntimeError) PathError = Class.new(RuntimeError) VariableNameError = Class.new(NameError) MixinNameError = Class.new(NameError) SyntaxError = Class.new(RuntimeError) ImportError = Class.new(RuntimeError) $verbose = false def self.version File.read( File.join( File.dirname(__FILE__), '..', 'VERSION') ).strip end def self.parse less Engine.new(less).to_css end end
Version data entries
26 entries across 26 versions & 3 rubygems