From 258c4deffaf88912b05b03665b6b70e3548bfcdc Mon Sep 17 00:00:00 2001 From: Samantha McVey Date: Fri, 9 Dec 2016 18:47:20 -0800 Subject: [PATCH] Change routine to method --- doc/Type/Cool.pod6 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/Type/Cool.pod6 b/doc/Type/Cool.pod6 index 5e1f9f567..6a42dab59 100644 --- a/doc/Type/Cool.pod6 +++ b/doc/Type/Cool.pod6 @@ -858,14 +858,16 @@ C<$pattern> is applied to the remaining characters of C<$string>. say "perL 6".samecase("A__a__"); # PerlĀ 6 say "pERL 6".samecase("Ab"); # PerlĀ 6 -=head2 routine uniprop +=head2 method uniprop Defined as: sub uniprop(Str(Cool), |c) method uniprop(|c) -Interprets the invocant as a L, and returns the unicode property of the first -character. If no property is specified returns the General Category. +Interprets the invocant as a L, and returns the +L of the first +character. If no property is specified returns the +L. say 'a'.uniprop; # Ll say '1'.uniprop; # Nd