Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Duration.Num actually Num.
  • Loading branch information
jnthn committed Sep 25, 2013
1 parent 7e981ca commit ddf3222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Duration.pm
Expand Up @@ -6,7 +6,7 @@ my class Duration is Cool does Real {

method Bridge(Duration:D:) { $!x.Num }
method Rat(Duration:D:) { $!x }
method Num(Duration:D:) { $!x }
method Num(Duration:D:) { $!x.Num }

multi method Str(Duration:D:) { ~$.x }

Expand Down

0 comments on commit ddf3222

Please sign in to comment.