Commit | Line | Data |
cfd04b0c |
1 | package Catalyst::ActionContainer; |
2 | |
3 | use strict; |
4 | use base qw/Class::Accessor::Fast/; |
5 | |
6 | __PACKAGE__->mk_accessors(qw/part actions/); |
7 | |
8 | use overload ( |
9 | |
10 | # Stringify to path part for tree search |
11 | q{""} => sub { shift->{part} }, |
12 | |
13 | ); |
14 | |
15 | =head1 NAME |
16 | |
aa6283e4 |
17 | Catalyst::ActionContainer - Catalyst Action Container |
cfd04b0c |
18 | |
19 | =head1 SYNOPSIS |
20 | |
21 | See L<Catalyst>. |
22 | |
23 | =head1 DESCRIPTION |
24 | |
25 | =head1 METHODS |
26 | |
27 | =over 4 |
28 | |
29 | =item part |
30 | |
31 | =item actions |
32 | |
33 | =item new |
34 | |
35 | =cut |
36 | |
37 | sub new { # Dumbass constructor |
38 | my ( $class, $attrs ) = @_; |
39 | return bless { %{ $attrs || {} } }, $class; |
40 | } |
41 | |
42 | =back |
43 | |
44 | =head1 AUTHOR |
45 | |
46 | Matt S. Trout |
47 | |
48 | =head1 COPYRIGHT |
49 | |
50 | This program is free software, you can redistribute it and/or modify it under |
51 | the same terms as Perl itself. |
52 | |
53 | =cut |
54 | |
55 | 1; |