use Carp 'confess';
use Scalar::Util 'weaken', 'reftype', 'blessed';
-our $VERSION = '0.90';
+our $VERSION = '1.04';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
=item B<< Class::MOP::Method->wrap($code, %options) >>
-This is the constructor. It accepts a subroutine reference and a hash
-of options.
+This is the constructor. It accepts a method body in the form of
+either a code reference or a L<Class::MOP::Method> instance, followed
+by a hash of options.
The options are:
=item * name
-The method name (without a package name). This is required.
+The method name (without a package name). This is required if C<$code>
+is a coderef.
=item * package_name
-The package name for the method. This is required.
+The package name for the method. This is required if C<$code> is a
+coderef.
=item * associated_metaclass
=head1 COPYRIGHT AND LICENSE
-Copyright 2006-2009 by Infinity Interactive, Inc.
+Copyright 2006-2010 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>