Sha256: 15a58f7ae5f4d367766c65aabb0ac32d84b1d899adf9291354b09dba359319ee
Contents?: true
Size: 819 Bytes
Versions: 9
Compression:
Stored size: 819 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'cgi' require 'treetop' require 'mutter' 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
9 entries across 9 versions & 2 rubygems