1 package MooseX::AutoDoc::View;
5 has args => (is => 'ro', predicate => 'has_args');
7 #twi different methods because it really does make more sense this way
8 sub render_role { confess "Unimplemented Method"; }
9 sub render_class { confess "Unimplemented Method"; }
21 This is an empty base class for MooseX::AutoDoc views.
29 =item B<predicate> - has_args
33 Optional read-only value. It's use is defined by the subclass.
37 =head2 new key => $value
39 Instantiate a new object.
41 =head2 render_class \%vars, $options
43 Render the documentation for a class. By default, AutoDoc will pass three
44 variables, authors, class, license.
46 =head2 render_role \%vars, $options
48 Render the documentation for a role. By default, AutoDoc will pass three
49 variables, authors, class, license.
53 Retrieve the metaclass instance. Please see L<Moose::Meta::Class> and
54 L<Class::MOP::Class> for more information.
58 Guillermo Roditi (groditi) <groditi@cpan.org>
60 =head1 COPYRIGHT AND LICENSE
62 This library is free software; you can redistribute it and/or modify it under
63 the same terms as Perl itself.