method

min3

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Text
min3(a, b, c) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.