X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType.pm;h=6ac653d4d12307427e54d64763ce3fa7f235b24d;hb=9cc543bce15960f805772ee5cda084c5885f76f2;hp=f8476eb617a5a03b12d300a1417e94e2fe05721d;hpb=a486ab55fa8e0650a63d7b4f69ec02f79bd701a4;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/DispatchType.pm b/lib/Catalyst/DispatchType.pm index f8476eb..6ac653d 100644 --- a/lib/Catalyst/DispatchType.pm +++ b/lib/Catalyst/DispatchType.pm @@ -1,7 +1,8 @@ package Catalyst::DispatchType; -use strict; -use base 'Class::Accessor::Fast'; +use Moose; +with 'MooseX::Emulate::Class::Accessor::Fast'; +no Moose; =head1 NAME @@ -58,10 +59,18 @@ arrayref, or undef if unable to do so. sub uri_for_action { } -=head1 AUTHOR +=head2 $self->expand_action -Matt S Trout -Sebastian Riedel, C +Default fallback, returns nothing. See L for more info +about expand_action. + +=cut + +sub expand_action { } + +=head1 AUTHORS + +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT @@ -70,4 +79,6 @@ the same terms as Perl itself. =cut +__PACKAGE__->meta->make_immutable; + 1;