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

to_i

        # IO.to_i

(from ruby core)
---
    to_i()

---

Returns the integer file descriptor for the stream:

    $stdin.fileno             # => 0
    $stdout.fileno            # => 1
    $stderr.fileno            # => 2
    File.open('t.txt').fileno # => 10

IO#to_i is an alias for IO#fileno.


(This method is an alias for IO#fileno.)

Returns the integer file descriptor for the stream:

    $stdin.fileno             # => 0
    $stdout.fileno            # => 1
    $stderr.fileno            # => 2
    File.open('t.txt').fileno # => 10

IO#to_i is an alias for IO#fileno.



      

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.