Skip to content

Commit

Permalink
Remove capitalize, as per docs/deprecations
Browse files Browse the repository at this point in the history
Originally scheduled for 2012.11
  • Loading branch information
lizmat committed Oct 31, 2013
1 parent c1064c7 commit f5f8e47
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/core/Cool.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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 }
Expand Down

0 comments on commit f5f8e47

Please sign in to comment.