aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/text.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/text.rb')
-rw-r--r--lib/rubygems/text.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/text.rb b/lib/rubygems/text.rb
index 8b26bebec8..5c9287ad2e 100644
--- a/lib/rubygems/text.rb
+++ b/lib/rubygems/text.rb
@@ -27,9 +27,9 @@ module Gem::Text
end
def min3 a, b, c # :nodoc:
- if a < b && a < c
+ if a < b && a < c then
a
- elsif b < a && b < c
+ elsif b < c then
b
else
c