Checking in changes prior to tagging of version 0.50_04. Changelog diff is:
[gitmo/Mouse.git] / lib / Mouse / Meta / Role / Method.pm
index caa1a3b..3802b15 100755 (executable)
@@ -4,6 +4,16 @@ use Mouse::Util; # enables strict and warnings
 use Mouse::Meta::Method;
 our @ISA = qw(Mouse::Meta::Method);
 
+sub _new{
+    my($class, %args) = @_;
+    my $self = bless \%args, $class;
+
+    if($class ne __PACKAGE__){
+        $self->meta->_initialize_object($self, \%args);
+    }
+    return $self;
+}
+
 1;
 __END__
 
@@ -11,6 +21,10 @@ __END__
 
 Mouse::Meta::Role::Method - A Mouse Method metaclass for Roles
 
+=head1 VERSION
+
+This document describes Mouse version 0.50_04
+
 =head1 SEE ALSO
 
 L<Moose::Meta::Role::Method>