Class: TrueClass

Inherits:
Object
  • Object
show all
Defined in:
lib/formulae/run/excel_functions.rb

Instance Method Summary collapse

Instance Method Details

#*(other) ⇒ Object


40
# File 'lib/formulae/run/excel_functions.rb', line 40

def *(other); 1.0 * other; end

#+(other) ⇒ Object


38
# File 'lib/formulae/run/excel_functions.rb', line 38

def +(other); 1.0 + other; end

#-(other) ⇒ Object


39
# File 'lib/formulae/run/excel_functions.rb', line 39

def -(other); 1.0 - other; end

#/(other) ⇒ Object


41
# File 'lib/formulae/run/excel_functions.rb', line 41

def /(other); 1.0 / other; end

#coerce(other) ⇒ Object


42
# File 'lib/formulae/run/excel_functions.rb', line 42

def coerce(other); 1.0.coerce(other); end