This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Rational.to_d (from ruby core) --- rat.to_d(precision) -> bigdecimal --- Returns the value as a BigDecimal. The required `precision` parameter is used to determine the number of significant digits for the result. require 'bigdecimal' require 'bigdecimal/util' Rational(22, 7).to_d(3) # => 0.314e1 See also BigDecimal::new.
This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.