struct

AgentApropos::Index

Inherits JSON::Serializable < Struct < Value < Object

Constants

SCHEMA_VERSION = 2

Constructors

build(conventions : Array(Convention)) : Index
Source
new(docs : Array(Entry), schema_version : Int32 = SCHEMA_VERSION)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

load(json : String) : Index | Nil
Source

Instance methods

covers?(conventions : Array(Convention)) : Bool
Source
docs
Source
schema_version
Source
to_document
Source

Nested types