Skip to content

Commit

Permalink
[bin/crypt] this fits on one line now
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Jul 26, 2012
1 parent 1142a13 commit aff9965
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/crypt
Expand Up @@ -8,9 +8,7 @@ role Event {
sub value($attr) { $attr.get_value(self) }
sub attrpair($attr) { ":{name $attr}<{value $attr}>" }

sprintf '%s[%s]',
self.^name,
~map &attrpair, self.^attributes;
sprintf '%s[%s]', self.^name, ~map &attrpair, self.^attributes;
}
}

Expand Down

0 comments on commit aff9965

Please sign in to comment.