CRDoc::Entry
A single documented item, flattened out of a Model::Root.
Constants
ABBREVIATIONS = {"e.g.", "i.e.", "etc.", "vs.", "cf."}
Words that end in a period without ending a sentence, lowercased.
Constructors
new(source : String, kind : CRDoc::Entry::Kind, owner : Nil | String, name : String, signature : Nil | String = nil, doc : Nil | String = nil, location : CRDoc::Model::Location | Nil = nil, abstract __arg0 : Bool = false, type : Nil | CRDoc::Model::Type = nil)
SourceClass methods
paragraph up to the first ., ! or ? that is followed by a space
or the end. Stops inside code spans and after abbreviations don't count.
A backtick without a partner is dropped.
Instance methods
abstract?
Sourcedoc
Sourcefull_name
Qualified name in crdoc query syntax: String, IO::Memory,
String#size, String.new, Signal::INT, ARGV. Top-level methods
carry a leading ::, as in ::puts, so the name picks them out alone.
kind
Sourcelocation
Sourceowner
Qualified name of the enclosing type without generic parameters
(Hash, IO::Memory), or nil for the top level namespace.