method
min3
v2_5_5 -
Show latest stable
- Class:
Gem::Text
min3(a, b, c)public
No documentation available.
# File lib/rubygems/text.rb, line 43
def min3 a, b, c # :nodoc:
if a < b && a < c then
a
elsif b < c then
b
else
c
end
end