Class: NumericFunctions::Min

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

Class Method Summary collapse

Class Method Details

.apply(val1, val2) ⇒ Object



90
91
92
# File 'lib/mdarray/ruby_numeric_functions.rb', line 90

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