Skip to content

Commit

Permalink
Merge pull request #3361 from kalkin/Pod-To-Text-Subsets
Browse files Browse the repository at this point in the history
Pod::To::Text display Subsets
  • Loading branch information
lizmat committed Feb 9, 2020
2 parents 5943cbf + 91f8943 commit 94b30b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Pod/To/Text.rakumod
Expand Up @@ -99,6 +99,9 @@ sub declarator2text($pod) {
when .HOW ~~ Metamodel::ModuleHOW {
'module ' ~ $_.raku
}
when .HOW ~~ Metamodel::SubsetHOW {
'subset ' ~ $_.raku ~ ' of ' ~ $_.^refinee().raku
}
when .HOW ~~ Metamodel::PackageHOW {
'package ' ~ $_.raku
}
Expand Down

0 comments on commit 94b30b6

Please sign in to comment.