Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
🍩
Browse files Browse the repository at this point in the history
  • Loading branch information
katorie committed Mar 10, 2015
1 parent fc1800e commit 032a429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def area_of_disk(radius)
end

def area_of_ring(outer, inner)
area_of_disk(outer) - area_of_ring(inner)
area_of_disk(outer) - area_of_disk(inner)
end

def sum(array)
Expand Down

0 comments on commit 032a429

Please sign in to comment.