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

to_f

        # String.to_f

(from ruby core)
---
    to_f -> float

---

Returns the result of interpreting leading characters in `self` as a
Float:

    '3.14159'.to_f  # => 3.14159
    '1.234e-2'.to_f # => 0.01234

Characters past a leading valid number (in the given `base`) are
ignored:

    '3.14 (pi to two places)'.to_f # => 3.14

Returns zero if there is no leading valid number:

    'abcdef'.to_f # => 0.0



      

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.