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

to_d

        # String.to_d

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

---

Returns the result of interpreting leading characters in `str` as a
BigDecimal.

    require 'bigdecimal'
    require 'bigdecimal/util'

    "0.5".to_d             # => 0.5e0
    "123.45e1".to_d        # => 0.12345e4
    "45.67 degrees".to_d   # => 0.4567e2

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.