Class: Tilt::LessTemplateWithPaths
- Inherits:
-
LessTemplate
- Object
- LessTemplate
- Tilt::LessTemplateWithPaths
- Defined in:
- lib/marv/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.
5 6 7 |
# File 'lib/marv/engines.rb', line 5 def load_path @load_path end |
Instance Method Details
#prepare ⇒ Object
8 9 10 11 |
# File 'lib/marv/engines.rb', line 8 def prepare parser = ::Less::Parser.new(:filename => eval_file, :line => line, :paths => [self.class.load_path]) @engine = parser.parse(data) end |