method render
Documentation for method render
assembled from the following types:
role Documentable::DocPage
(Documentable::DocPage) method render
Defined as
method render(| --> Hash)
It's an abstract method. It needs to return a Hash
object following this format:
%(document => pod to be rendered as HTML,url => URL assigned to this document)
Returning the pod
is necessary because we need to wrap it in a common HTML template (see Documentable::To::HTML::Wrapper).
class Documentable::To::HTML::Wrapper
From Documentable::To::HTML::Wrapper
(Documentable::To::HTML::Wrapper) method render
Defined as
method render(, = '', :?)
Renders the $pod
passed and wraps it. $selected
is an element of Kind. It will appear as selected. $pod-path
is used to complete the 'edit button' presents in pages coming from a Documentable::Primary object.