bump version to 0.90
[gitmo/Moose.git] / lib / Moose / Meta / Attribute / Native / Trait / Bool.pm
index eaa9fd8..c8bdb01 100644 (file)
@@ -2,7 +2,7 @@ package Moose::Meta::Attribute::Native::Trait::Bool;
 use Moose::Role;
 use Moose::Meta::Attribute::Native::MethodProvider::Bool;
 
-our $VERSION = '0.87';
+our $VERSION = '0.90';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -29,16 +29,15 @@ no Moose::Role;
 
 =head1 NAME
 
-Moose::Meta::Attribute::Native::Trait::Bool
+Moose::Meta::Attribute::Native::Trait::Bool - Helper trait for Bool attributes
 
 =head1 SYNOPSIS
 
   package Room;
   use Moose;
-  use Moose::AttributeHelpers;
 
   has 'is_lit' => (
-      traits => ['Bool'],
+      traits    => ['Bool'],
       is        => 'rw',
       isa       => 'Bool',
       default   => 0,
@@ -47,7 +46,7 @@ Moose::Meta::Attribute::Native::Trait::Bool
           darken      => 'unset',
           flip_switch => 'toggle',
           is_dark     => 'not',
-      }
+      },
   );
 
   my $room = Room->new();
@@ -70,19 +69,19 @@ the attribute.
 
 =over 4
 
-=item I<set>
+=item B<set>
 
 Sets the value to C<1>.
 
-=item I<unset>
+=item B<unset>
 
 Set the value to C<0>.
 
-=item I<toggle>
+=item B<toggle>
 
-Toggle the value. If it's true, set to false, and vice versa.
+Toggles the value. If it's true, set to false, and vice versa.
 
-=item I<not>
+=item B<not>
 
 Equivalent of 'not C<$value>'.
 
@@ -94,8 +93,6 @@ Equivalent of 'not C<$value>'.
 
 =item B<meta>
 
-=item B<method_constructors>
-
 =item B<has_method_provider>
 
 =item B<method_provider>