Skip to content

Commit

Permalink
Add Num.Num method which simply returns self.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Sep 12, 2009
1 parent 3b63817 commit 186cf24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/setting/Num.pm
Expand Up @@ -251,6 +251,10 @@ class Num is also {
~self
}
our Num multi method Num() {
self;
}
our Num multi method tan($base = 'radians') is export {
my $x = self!to-radians($base);
Q:PIR {
Expand Down

0 comments on commit 186cf24

Please sign in to comment.