Skip to content

Commit

Permalink
Special-case Range.gist
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Oct 21, 2014
1 parent 10eb3fa commit 2662e7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Range.pm
Expand Up @@ -143,6 +143,9 @@ my class Range is Iterable is Cool does Positional {
~ ('^' if $.excludes_max)
~ $.max.perl
}
multi method gist(Range:D:) {
self.perl;
}

proto method roll(|) { * }
multi method roll(Range:D: Whatever) {
Expand Down

0 comments on commit 2662e7c

Please sign in to comment.