summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-12-20 00:35:56 -0600
committerJesse Luehrs <doy@tozt.net>2009-12-20 00:35:56 -0600
commitef5e33db6b62726535f778651a191355904c38fa (patch)
treee4bd103d55700a899c910ca6b91d7c7a316933dd
parent1d00bff3291758b8c675e3c08b12f1ea9f69875b (diff)
downloadmoosex-abc-ef5e33db6b62726535f778651a191355904c38fa.tar.gz
moosex-abc-ef5e33db6b62726535f778651a191355904c38fa.zip
update docs a bit
-rw-r--r--lib/MooseX/ABC.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/MooseX/ABC.pm b/lib/MooseX/ABC.pm
index 6748acb..8850931 100644
--- a/lib/MooseX/ABC.pm
+++ b/lib/MooseX/ABC.pm
@@ -31,11 +31,16 @@ MooseX::ABC - abstract base classes for Moose
=head1 DESCRIPTION
-This module adds basic abstract base class functionality to Moose. Doing
-C<use MooseX::ABC> turns the using class into an abstract class - it cannot be
+This module adds basic abstract base class functionality to Moose. Doing C<use
+MooseX::ABC> turns the using class into an abstract class - it cannot be
instantiated. It also allows you to mark certain methods in the class as
L</required>, meaning that if a class inherits from this class without
-implementing that method, it will die at compile time.
+implementing that method, it will die at compile time. Abstract subclasses are
+exempt from this, however - if you extend a class with another class which uses
+C<MooseX::ABC>, it will not be required to implement every required method (and
+it can also add more required methods of its own). Only concrete classes
+(classes which do not use C<MooseX::ABC>) are required to implement all of
+their ancestors' required methods.
=cut
@@ -71,11 +76,6 @@ sub init_meta {
return $ret;
}
-=head1 TODO
-
-Probably want a way to extend abstract classes without dying, making the
-inheriting class abstract.
-
=head1 BUGS
No known bugs.