Permalink
Browse files

give Cool a path method to run self.Stringy.path

  • Loading branch information...
1 parent 2765030 commit 5feb260a339a945409582faf9ac5191698ed0f42 @timo timo committed Jun 18, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/Cool.pm
View
1 src/core/Cool.pm
@@ -186,6 +186,7 @@ my class Cool {
method samecase(Cool:D: Cool $pattern) { self.Stringy.samecase($pattern) }
method IO() { IO::Handle.new(:path(self.Stringy)) }
+ method path() { self.Stringy.path }
method trim () { self.Stringy.trim };
method trim-leading () { self.Stringy.trim-leading };
method trim-trailing() { self.Stringy.trim-trailing };

0 comments on commit 5feb260

Please sign in to comment.