Class: Rational

Inherits:
Object
  • Object
show all
Defined in:
lib/reality/pretty_inspect.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



8
9
10
# File 'lib/reality/pretty_inspect.rb', line 8

def inspect
  Reality::Util::Format.number(self)
end