Class: Tilt::LessTemplateWithPaths
- Inherits:
-
LessTemplate
- Object
- LessTemplate
- Tilt::LessTemplateWithPaths
- Defined in:
- lib/forge/engines.rb
Class Attribute Summary collapse
-
.load_path ⇒ Object
Returns the value of attribute load_path.
Instance Method Summary collapse
Class Attribute Details
.load_path ⇒ Object
Returns the value of attribute load_path.
4 5 6 |
# File 'lib/forge/engines.rb', line 4 def load_path @load_path end |
Instance Method Details
#prepare ⇒ Object
7 8 9 10 |
# File 'lib/forge/engines.rb', line 7 def prepare parser = ::Less::Parser.new(:filename => eval_file, :line => line, :paths => [self.class.load_path]) @engine = parser.parse(data) end |