Method: AppMath::Basics.sup
- Defined in:
- lib/appmath_basics.rb
.sup(a, b) ⇒ Object
Returns the larger of the two numbers a and b.
53 54 55 |
# File 'lib/appmath_basics.rb', line 53 def Basics.sup(a, b) a <= b ? b : a end |
Returns the larger of the two numbers a and b.
53 54 55 |
# File 'lib/appmath_basics.rb', line 53 def Basics.sup(a, b) a <= b ? b : a end |