Class: NumericFunctions::Max

Inherits:
Object
  • Object
show all
Defined in:
lib/mdarray/ruby_numeric_functions.rb

Class Method Summary collapse

Class Method Details

.apply(val1, val2) ⇒ Object



96
97
98
# File 'lib/mdarray/ruby_numeric_functions.rb', line 96

def self.apply(val1, val2)
  val1 > val2 ? val1 : val2
end