class Webgen::PathHandler::Base::Node

This is the Node sub class used by the Base#create_node method if a path handler class does not specify another Node class.

Public Instance Methods

content()

Return the result of the content method on the associated path handler or nil if the associated path handler does not have a content method.

route_to(node, lang = @lang)

Does exactly the same as Node#route_to but also automatically adds the necessary item tracking information.

Calls superclass method Node#route_to
url()

Return the absolute URL of this node.

This method uses the configuration option 'website.base_url' for constructing the absolute URL.