Class: ComparisonOperators::Le

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

Class Method Summary collapse

Class Method Details

.apply(val1, val2) ⇒ Object



217
218
219
# File 'lib/mdarray/ruby_numeric_functions.rb', line 217

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