Method: Lifer::Entry#summary
- Defined in:
- lib/lifer/entry.rb
#summary ⇒ String
If given a summary in the frontmatter of the entry, we can use this to provide a summary.
Since subclasses may have more sophisticated access to the document, they may override this method with their own distinct implementations.
240 241 242 |
# File 'lib/lifer/entry.rb', line 240 def summary return frontmatter[:summary] if frontmatter[:summary] end |