Parrot::Docs::Group

Parrot::Docs::Group is a group of documentation items.
Download

Parrot::Docs::Group Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Parrot::Docs::Group Team
  • Publisher web site:
  • http://search.cpan.org/~ltoetsch/parrot-0.4.5/lib/Parrot/Docs/Group.pm

Parrot::Docs::Group Tags


Parrot::Docs::Group Description

Parrot::Docs::Group is a group of documentation items. Parrot::Docs::Group is a group of documentation items.SYNOPSIS use Parrot::Docs::Group;A documentation group is a number of items with some optional descriptive text.Parrot::Docs::Group is a subclass of Parrot::Docs::Item.Class Methodsnew_group($name, $text, @items)Returns a new group.Use this when creating groups within a Parrot::Docs::Section subclass's new() method.new($name, $text, @contents)Returns a new group.$name and $text are required, though the text can be an empty string. @contents is one or more Parrot::Docs::Item instances, or relative paths.Instance Methodsname()Returns the name of the group.html_link()Groups have no HTML link. This method returns an empty string which will be discarded when building the navigation bar.write_html($source, $target, $silent)write_html() is called on each item in the group.Some HTML-formatted text describing the files linked to is returned.write_contents_html($source, $target, $silent)Iterates over the group's contents and calls write_html() on each one.Some HTML-formatted text describing the files linked to is returned.contents_relative_to_source($source)Returns the contents of the group interpreted relative to the source directory. Requirements: · Perl


Parrot::Docs::Group Related Software