--- /dev/null
+0.02 2009-12-28
+ * Stop using "has +" in roles, especially since it wasn't doing anything
+ anyway
+
package MooseX::HasDefaults::Meta::IsRO;
use Moose::Role;
-# This does not actually do anything but lie less in the attribute's metadata.
-has '+is' => (
- default => 'ro',
-);
-
around _process_options => sub {
my $orig = shift;
my (undef, undef, $options) = @_;
package MooseX::HasDefaults::Meta::IsRW;
use Moose::Role;
-# This does not actually do anything but lie less in the attribute's metadata.
-has '+is' => (
- default => 'rw',
-);
-
around _process_options => sub {
my $orig = shift;
my (undef, undef, $options) = @_;