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 :)
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
(Documentable::Registry) submethod BUILD
Defined as
submethod BUILD(Str : = "doc", : = [], Bool : = True)
Creates a new instance of the class.
$topdir
: directory containing all the pod6 sources.@dirs
: subdirectories of$topdir
containing pod6 sources.$verbose
: ifTrue
, additional information will be printed.
Example:
use Documentable::Registry;my = Documentable::Registry.new(topdir => "doc", # doc containing the pod collectiondirs => ["Type", "Language"], # dirs to processverbose => True,);# to complete the processing and initialize some attributes.compose;
class Documentable
From Documentable
(Documentable) submethod BUILD
Defined as
submethod BUILD(:, :!, :, :, :!)
Returns a Documentable
object correctly initialized.