Author: autarch
Date: 2009-02-20 15:22:41 +0100 (Fri, 20 Feb 2009)
New Revision: 25459
Modified:
docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
method Str returns Str seems rather redundant and repetitive
Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-02-20 09:48:25 UTC
(rev 25458)
+++ docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-02-20 14:22:41 UTC
(rev 25459)
@@ -127,7 +127,7 @@
method iso8601 () returns Str
{ [ self.hour, self.minute, self.fractional-second ].join(':') }
- method Str returns Str { self.iso8601() };
+ method Str { self.iso8601() };
multi method infix:{'<=>'} (Temporal::Time $self, Temporal::Time
$other) {
$self.hour <=> $other.hour
@@ -161,7 +161,7 @@
~ $minutes.truncate.fmt('%02d');
}
- method Str returns Str { self.iso8601 }
+ method Str { self.iso8601 }
}
This is called an I<observance> because it represents the state of a