Reformatted documentation
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ActionContainer.pm
index f3ff514..4dd4500 100644 (file)
@@ -24,22 +24,19 @@ See L<Catalyst>.
 
 =head1 METHODS
 
-=over 4
-
-=item part
-
-=item actions
-
-=item new
+=head2 get_action
 
 =cut
 
-sub new {        # Dumbass constructor
-    my ( $class, $attrs ) = @_;
-    return bless { %{ $attrs || {} } }, $class;
+sub get_action {
+    my ( $self, $name ) = @_;
+    return $self->actions->{$name} if defined $self->actions->{$name};
+    return;
 }
 
-=back
+=head2 actions
+
+=head2 part
 
 =head1 AUTHOR