Module: Abqari::Page::Parser

Included in:
Abqari::Page
Defined in:
lib/abqari/page/parser.rb

Overview

File I/O + frontmatter / body parsing. Mixed into Page so the methods operate on Page instance state (@source_path, @frontmatter, @body). Kept here so changes to the on-disk format don't ripple through the rest of Page.

parse runs once at construction. load_body_from_file! re- reads just the body after forget_body! has released it.