Skip to content

Commit

Permalink
Uncuddling elsif statements
Browse files Browse the repository at this point in the history
  • Loading branch information
paultcochrane committed Mar 11, 2015
1 parent 8d0fa38 commit 2b1bc9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Pod/Convenience.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ sub pod-gist(Pod::Block $pod, $level = 0) is export {
}
elsif $c ~~ Str {
@chunks.push: $c.indent($level + 2), "\n";
} elsif $c ~~ Positional {
}
elsif $c ~~ Positional {
@chunks.push: $c.map: {
if $_ ~~ Pod::Block {
*.&pod-gist
} elsif $_ ~~ Str {
}
elsif $_ ~~ Str {
$_
}
}
Expand Down

0 comments on commit 2b1bc9b

Please sign in to comment.