Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added docs, bumped version

  • Loading branch information...
commit b8bdc3bcb7803a37aa9d97036b2b781891f55ca1 1 parent f50a83b
Mike Friedman authored December 02, 2011
14  README.pod
Source Rendered
@@ -4,7 +4,19 @@ Pod::Weaver::Section::Extends - Add a list of parent classes to your POD.
4 4
 
5 5
 =head1 VERSION
6 6
 
7  
-version 0.001
  7
+version 0.002
  8
+
  9
+=head1 SYNOPSIS
  10
+
  11
+In your C<weaver.ini>:
  12
+
  13
+    [Extends]
  14
+
  15
+=head1 DESCRIPTION
  16
+
  17
+This L<Pod::Weaver> section plugin creates an "EXTENDS" section in your POD
  18
+which will contain a list of your class's parent classes. It accomplishes
  19
+this by attempting to compile your class and inspecting its C<@ISA>. 
8 20
 
9 21
 =head1 AUTHOR
10 22
 
2  dist.ini
@@ -4,7 +4,7 @@ license = Perl_5
4 4
 copyright_holder = Mike Friedman
5 5
 copyright_year   = 2011
6 6
 
7  
-version = 0.001
  7
+version = 0.002
8 8
 
9 9
 [@Basic]
10 10
 [AutoPrereqs]
18  lib/Pod/Weaver/Section/Extends.pm
@@ -13,8 +13,6 @@ use aliased 'Pod::Elemental::Element::Nested';
13 13
 use aliased 'Pod::Elemental::Element::Pod5::Verbatim';
14 14
 use aliased 'Pod::Elemental::Element::Pod5::Command';
15 15
 
16  
-use Data::Dumper;
17  
-
18 16
 sub weave_section { 
19 17
     my ( $self, $doc, $input ) = @_;
20 18
 
@@ -73,3 +71,19 @@ sub _get_parents {
73 71
 
74 72
 
75 73
 1;
  74
+
  75
+
  76
+=pod
  77
+
  78
+=head1 SYNOPSIS
  79
+
  80
+In your C<weaver.ini>:
  81
+
  82
+    [Extends]
  83
+
  84
+=head1 DESCRIPTION
  85
+
  86
+This L<Pod::Weaver> section plugin creates an "EXTENDS" section in your POD
  87
+which will contain a list of your class's parent classes. It accomplishes
  88
+this by attempting to compile your class and inspecting its C<@ISA>. 
  89
+

0 notes on commit b8bdc3b

Please sign in to comment.
Something went wrong with that request. Please try again.