class Pod::Block::Named

Named block in a Pod document

class Pod::Block::Named is Pod::Block { }

Class for a named Pod block. For example

=begin MySection
...
=end MySection

creates a Pod::Block::Named with name MySection.

Methods

method name

method name(--> Str:D)

Returns the name of the block.

Type Graph

Type relations for Pod::Block::Named
perl6-type-graph Pod::Block::Named Pod::Block::Named Pod::Block Pod::Block Pod::Block::Named->Pod::Block Mu Mu Any Any Any->Mu Pod::Block->Any

Expand above chart

Routines supplied by class Pod::Block

Pod::Block::Named inherits from class Pod::Block, which provides the following routines:

(Pod::Block) method contents

method contents(--> Positional:D)

Returns a list of contents of this block.

(Pod::Block) method config

method config(--> Map:D)

Returns a hash of configs.