Class: BooleanFunctions::Or

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

Class Method Summary collapse

Class Method Details

.apply(val1, val2) ⇒ Object



17
18
19
# File 'lib/mdarray/ruby_boolean_functions.rb', line 17

def self.apply(val1, val2)
  val1 or val2
end