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,
lib/less/java_script.rb,
lib/less/java_script/v8_context.rb,
lib/less/java_script/rhino_context.rb
Defined Under Namespace
Modules: Defaults, JavaScript Classes: Error, Loader, ParseError, Parser
Constant Summary collapse
- VERSION =
'2.6.0'
Class Method Summary collapse
- .[](name) ⇒ Object
-
.Parser ⇒ Object
exposes less.Parser.
-
.tree ⇒ Object
exposes less.tree e.g.
Methods included from Defaults
Class Method Details
.[](name) ⇒ Object
17 18 19 |
# File 'lib/less.rb', line 17 def self.[](name) @less[name] end |
.Parser ⇒ Object
exposes less.Parser
22 23 24 |
# File 'lib/less.rb', line 22 def self.Parser self['Parser'] end |
.tree ⇒ Object
exposes less.tree e.g. for attaching custom functions Less.tree.functions = lambda { |*args| ‘bar’ }
28 29 30 |
# File 'lib/less.rb', line 28 def self.tree self['tree'] end |