Class: Less::Loader::Fs
- Inherits:
-
Object
- Object
- Less::Loader::Fs
- Defined in:
- lib/less/loader.rb
Instance Method Summary collapse
Instance Method Details
#readFile(path, encoding, callback) ⇒ Object
55 56 57 |
# File 'lib/less/loader.rb', line 55 def readFile(path, encoding, callback) callback.call(nil, File.read(path)) end |
#statSync(path) ⇒ Object
51 52 53 |
# File 'lib/less/loader.rb', line 51 def statSync(path) File.stat(path) end |