Method: ReevooMark::Cache::Entry#document
- Defined in:
- lib/reevoomark/cache/entry.rb
#document ⇒ Object
20 21 22 23 |
# File 'lib/reevoomark/cache/entry.rb', line 20 def document raise "Loading from cache, where no cache exists is bad." unless exists? @document ||= YAML.load(read) end |