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