Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing method "pairs" to Setty, oddly no tests pass so seems unt…
…ested
  • Loading branch information
lizmat committed Sep 8, 2013
1 parent 0bacf6b commit 0c87927
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Setty.pm
Expand Up @@ -90,6 +90,7 @@ my role Setty does Associative {
}

method list() { %!elems.values }
method pairs() { %!elems.values.map({ $_ => True }) }
method pick($count = 1) { %!elems.values.pick($count) }
method roll($count = 1) { %!elems.values.roll($count) }

Expand Down

0 comments on commit 0c87927

Please sign in to comment.