Checking in changes prior to tagging of version 0.50_04. Changelog diff is:
[gitmo/Mouse.git] / lib / Mouse / Meta / Role / Method.pm
index 79b55d4..3802b15 100755 (executable)
@@ -1,18 +1,30 @@
 package Mouse::Meta::Role::Method;
-use strict;
-use warnings;
+use Mouse::Util; # enables strict and warnings
 
 use Mouse::Meta::Method;
 our @ISA = qw(Mouse::Meta::Method);
 
-1;
+sub _new{
+    my($class, %args) = @_;
+    my $self = bless \%args, $class;
+
+    if($class ne __PACKAGE__){
+        $self->meta->_initialize_object($self, \%args);
+    }
+    return $self;
+}
 
+1;
 __END__
 
 =head1 NAME
 
 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>