Skip to content
Browse files

Remove capitalize, as per docs/deprecations

Originally scheduled for 2012.11
  • Loading branch information...
1 parent c1064c7 commit f5f8e47a6d260d8edcac563f93306784def75829 @lizmat lizmat committed Oct 31, 2013
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/core/Cool.pm
View
13 src/core/Cool.pm
@@ -109,10 +109,6 @@ my class Cool { # declared in BOOTSTRAP
self.tc;
}
- method capitalize() { # is DEPRECATED doesn't work in settings
- DEPRECATED("'tclc'");
- self.Stringy.tclc;
- }
method wordcase() { self.Str.wordcase }
method chomp() {
@@ -233,15 +229,6 @@ sub ucfirst(Cool $s) { # is DEPRECATED doesn't work in settings
DEPRECATED("'tc'");
$s.tc;
}
-proto sub capitalize($) { * }
-multi sub capitalize(Str:D $x) { # is DEPRECATED doesn't work in settings
- DEPRECATED("'tclc'");
- $x.tclc;
-}
-multi sub capitalize(Cool $x) { # is DEPRECATED doesn't work in settings
- DEPRECATED("'tclc'");
- $x.Stringy.tclc;
-}
sub chop(Cool $s) { $s.chop }
sub chomp(Cool $s) { $s.chomp }

0 comments on commit f5f8e47

Please sign in to comment.
Something went wrong with that request. Please try again.