Method: Code::Object::Decimal#code_division

Defined in:
lib/code/object/decimal.rb

#code_division(other) ⇒ Object



182
183
184
185
186
# File 'lib/code/object/decimal.rb', line 182

def code_division(other)
  code_other = other.to_code

  Decimal.new(raw / code_other.raw)
end