Remove debugging cruft
[gitmo/Moose.git] / lib / Moose / Meta / Attribute / Native / Trait / Number.pm
index 361fb81..74b7714 100644 (file)
@@ -54,45 +54,45 @@ Moose::Meta::Attribute::Native::Trait::Number - Helper trait for Num attributes
 
 =head1 DESCRIPTION
 
-This provides a simple numeric attribute, which supports most of the
-basic math operations.
+This trait provides native delegation methods for numbers. All of the
+operations correspond to arithmetic operations like addition or
+multiplication.
+
+=head1 DEFAULT TYPE
+
+If you don't provide an C<isa> value for your attribute, it will default to
+C<Num>.
 
 =head1 PROVIDED METHODS
 
-It is important to note that all those methods do in place modification of the
-value stored in the attribute. These methods are implemented within this
-package.
+All of these methods modify the attribute's value in place. All methods return
+the new value.
 
 =over 4
 
 =item * B<add($value)>
 
-Adds the current value of the attribute to C<$value>. Returns the new value.
+Adds the current value of the attribute to C<$value>.
 
 =item * B<sub($value)>
 
-Subtracts C<$value> from the current value of the attribute. Returns the new
-value.
+Subtracts C<$value> from the current value of the attribute.
 
 =item * B<mul($value)>
 
-Multiplies the current value of the attribute by C<$value>. Returns the new
-value.
+Multiplies the current value of the attribute by C<$value>.
 
 =item * B<div($value)>
 
-Divides the current value of the attribute by C<$value>. Returns the new
-value.
+Divides the current value of the attribute by C<$value>.
 
 =item * B<mod($value)>
 
-Returns the current value of the attribute modulo C<$value>. Returns the new
-value.
+Returns the current value of the attribute modulo C<$value>.
 
 =item * B<abs>
 
-Sets the current value of the attribute to its absolute value. Returns the new
-value.
+Sets the current value of the attribute to its absolute value.
 
 =back