Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add method forms of uni functions
  • Loading branch information
TimToady committed Apr 17, 2015
1 parent 6fc1534 commit 9449e15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/Cool.pm
Expand Up @@ -107,6 +107,15 @@ my class Cool { # declared in BOOTSTRAP

method wordcase() { self.Str.wordcase }

method uniname() { uniname(self) }
method unival() { unival(self) }
method univals() { univals(self) }
method uniprop(|c) { uniprop(self, |c) }
method uniprop-int(|c) { uniprop-int(self, |c) }
method uniprop-bool(|c) { uniprop-bool(self, |c) }
method uniprop-str(|c) { uniprop-str(self, |c) }
method unimatch(|c) { unimatch(self, |c) }

method chomp() {
self.Str.chomp;
}
Expand Down

0 comments on commit 9449e15

Please sign in to comment.