Module: Less::Loader::FS

Defined in:
lib/less/loader.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.readFile(path, encoding, callback) ⇒ Object



83
84
85
# File 'lib/less/loader.rb', line 83

def self.readFile(path, encoding, callback)
  callback.call(nil, File.read(path))
end

.statSync(path) ⇒ Object



79
80
81
# File 'lib/less/loader.rb', line 79

def self.statSync(path)
  File.stat(path)
end