Skip to content

Commit

Permalink
Merge branch 'bool-str'
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 23, 2010
2 parents 0d3c66e + 40d0d49 commit a820a44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/builtins/Bool.pir
Expand Up @@ -45,6 +45,13 @@ symbols for C<Bool::True> and C<Bool::False>.
.return ($P0)
.end

.sub '' :method :vtable('get_string')
if self goto true
.return ('Bool::False')
true:
.return ('Bool::True')
.end

=back

=cut
Expand Down

0 comments on commit a820a44

Please sign in to comment.