Method: Lazier::Math::ClassMethods#max
- Defined in:
- lib/lazier/math.rb
#max(*args) ⇒ Object
Returns the maximum value between the arguments.
25 26 27 |
# File 'lib/lazier/math.rb', line 25 def max(*args) args.ensure_array(default: [], no_duplicates: true, compact: true, flatten: true).max end |