Skip to content

Commit

Permalink
Missing Str method in EnumMap.
Browse files Browse the repository at this point in the history
Originally provided by Iterable, oddly enough.
  • Loading branch information
jnthn committed Aug 13, 2015
1 parent 7d0f1bd commit e33977f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/EnumMap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ my class EnumMap does Iterable does Associative { # declared in BOOTSTRAP
}
multi method Int(EnumMap:D:) { self.elems }
multi method Numeric(EnumMap:D:) { self.elems }
multi method Str(EnumMap:D:) { self.list.Str }

multi method ACCEPTS(EnumMap:D: Any $topic) {
self.EXISTS-KEY($topic.any);
Expand Down

0 comments on commit e33977f

Please sign in to comment.