This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

to_d

        # Integer.to_d

(from ruby core)
---
    int.to_d  -> bigdecimal

---

Returns the value of `int` as a BigDecimal.

    require 'bigdecimal'
    require 'bigdecimal/util'

    42.to_d   # => 0.42e2

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.