submethod BUILD

Documentation for submethod BUILD assembled from the following types:

class Documentable::Config

From Documentable::Config

(Documentable::Config) submethod BUILD

Defined as

submethod(Str :$filename)

Creates a Documentable::Config object using a $filename (see configuration file). If an error in the file is found, a X::Documentable::Config::InvalidConfig exception will be thrown.

class Documentable::Registry

From Documentable::Registry

(Documentable::Registry) submethod BUILD

Defined as

submethod BUILD(Str :$topdir = "doc":@dirs = [], Bool :$verbose = True)

Creates a new instance of the class.

Example:

use Documentable::Registry;
 
my $registry = Documentable::Registry.new(
    topdir    => "doc",                # doc containing the pod collection 
    dirs      => ["Type""Language"], # dirs to process 
    verbose   => True,
);
 
# to complete the processing and initialize some attributes 
$registry.compose;
 

class Documentable

From Documentable

(Documentable) submethod BUILD

Defined as

submethod BUILD(:$!name:$!kind!:@!subkinds:@!categories:$!pod!)

Returns a Documentable object correctly initialized.