Class: Fewer::Engines::Less

Inherits:
Abstract show all
Defined in:
lib/fewer/engines/less.rb

Constant Summary

Constants inherited from Abstract

Abstract::SANITISE_REGEXP

Instance Attribute Summary

Attributes inherited from Abstract

#options, #paths, #root

Instance Method Summary collapse

Methods inherited from Abstract

#encoded, #etag, #initialize, #mtime, #source

Constructor Details

This class inherits a constructor from Fewer::Engines::Abstract

Instance Method Details

#readObject



9
10
11
12
13
# File 'lib/fewer/engines/less.rb', line 9

def read
  Dir.chdir root do
    ::Less::Engine.new(source).to_css
  end
end