Class: Fixnum

Inherits:
Object show all
Defined in:
lib/chitin/commands/builtins.rb

Overview

Fixnum math is now floating-point math

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Object



140
141
142
# File 'lib/chitin/commands/builtins.rb', line 140

def /(other)
  self.to_f / other.to_f
end

#old_divObject



138
# File 'lib/chitin/commands/builtins.rb', line 138

alias_method :old_div, :/