class

CRDoc::Source

Inherits Reference < Object

One documentation corpus: the stdlib at a given version, or one shard.

Constructors

from_json(name : String, version : String, json : String | IO) : Source
Source
new(name : String, version : String, root : CRDoc::Model::Root)
Source

Instance methods

entries
Source
label
Source
matches?(pattern : String) : Bool

True when this source matches a -s/-x pattern. Patterns are globs over the name (stdlib, shard:*) or the label (stdlib@1.21*).

Source
name

stdlib or shard:<name>.

Source
root
Source
version
Source