Skip to content

Commit

Permalink
Cheat version of Str.Num.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Feb 15, 2010
1 parent 5383a13 commit 542bfa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Str.pm
Expand Up @@ -4,4 +4,5 @@ augment class Str {
# CHEAT: this implementation is a bit of a cheat,
# but works fine for now.
multi method Int { (+self).Int; }
multi method Num { (+self).Num; }
}

0 comments on commit 542bfa5

Please sign in to comment.