Class: LiquidPlus::Cache
- Inherits:
-
Object
- Object
- LiquidPlus::Cache
- Defined in:
- lib/jekyll-liquid-plus/helpers/cache.rb
Class Method Summary collapse
Class Method Details
.exists(path) ⇒ Object
3 4 5 6 |
# File 'lib/jekyll-liquid-plus/helpers/cache.rb', line 3 def self.exists(path) @exists ||= {} @exists[path] ||= File.exist? path end |