Permalink
Browse files

Make Duration.Num actually Num.

  • Loading branch information...
1 parent 7e981ca commit ddf3222f038577b22ed73ff8091ed50586540219 @jnthn jnthn committed Sep 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Duration.pm
View
@@ -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 }

0 comments on commit ddf3222

Please sign in to comment.