Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Display boolean pb_packed trait without redundant '(True)'
  • Loading branch information
Geoffrey Broadwell committed Nov 23, 2013
1 parent 34fcd84 commit 593e24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PB/Model/Generator.pm
Expand Up @@ -54,7 +54,7 @@ class PB::Model::Generator {
if $.pb_number.defined;
$traits ~= " is pb_repeat($.pb_repeat)"
if $.pb_repeat.defined;
$traits ~= " is pb_packed($.pb_packed)" if $.pb_packed;
$traits ~= " is pb_packed" if $.pb_packed;
$traits;
}
}
Expand Down

0 comments on commit 593e24f

Please sign in to comment.