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

Commit

Permalink
Merge pull request #1 from katorie/min
Browse files Browse the repository at this point in the history
Fix 'min'
  • Loading branch information
soutaro committed Mar 9, 2015
2 parents d35a376 + 4c1876b commit fc1800e
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 @@ -25,7 +25,7 @@ def abs(x)
# * ternary operator
#
def min(a, b)
a < b ? b : a
a < b ? a : b
end

# Examples
Expand Down

0 comments on commit fc1800e

Please sign in to comment.