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

to_f

        # Integer.to_f

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

---

Converts `self` to a Float:

    1.to_f  # => 1.0
    -1.to_f # => -1.0

If the value of `self` does not fit in a Float, the result is infinity:

    (10**400).to_f  # => Infinity
    (-10**400).to_f # => -Infinity



      

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.