Commit | Line | Data |
---|---|---|
bc71de54 | 1 | package Mouse::Meta::Role::Method; |
bc69ee88 | 2 | use Mouse::Util; # enables strict and warnings |
bc71de54 | 3 | |
f3bb863f | 4 | use Mouse::Meta::Method; |
5 | our @ISA = qw(Mouse::Meta::Method); | |
bc71de54 | 6 | |
e78cd29d | 7 | sub _new{ |
8 | my($class, %args) = @_; | |
9 | my $self = bless \%args, $class; | |
10 | ||
11 | if($class ne __PACKAGE__){ | |
12 | $self->meta->_initialize_object($self, \%args); | |
13 | } | |
14 | return $self; | |
9010458d | 15 | } |
16 | ||
bc71de54 | 17 | 1; |
bc71de54 | 18 | __END__ |
19 | ||
1820fffe | 20 | =head1 NAME |
21 | ||
22 | Mouse::Meta::Role::Method - A Mouse Method metaclass for Roles | |
23 | ||
a25ca8d6 | 24 | =head1 VERSION |
25 | ||
5b3e7678 | 26 | This document describes Mouse version 0.89 |
a25ca8d6 | 27 | |
1820fffe | 28 | =head1 SEE ALSO |
29 | ||
30 | L<Moose::Meta::Role::Method> | |
31 | ||
32 | =cut | |
33 |