Chronicle::Models::JournalEntry
Inherits JSON::Serializable < Struct < Value < Object
Represents a Project Journaling Protocol (PJP / ajourn) entry file and parsed items.
Constants
TAG_REGEX = /\b(?<tag>DEC|RAT|GOT|PRB|FEAT|DEPLOY|USR|SPEC|ADR|NOTE):\s*(?<msg>.*)$/
TIMESTAMP_REGEX = /\[(?<time>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2})\]/
Constructors
new(path : String, timestamp : Time, content : String, project : String, items : Array(JournalItem) | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
Sourceitems
Sourcepath
Sourceproject
Sourcetimestamp
Source