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

reopen

        # IO.reopen

(from ruby core)
---
    ios.reopen(other_IO)             -> ios
    ios.reopen(path, mode [, opt])   -> ios

---

Reassociates *ios* with the I/O stream given in *other_IO* or to a new
stream opened on *path*. This may dynamically change the actual class of
this stream. The `mode` and `opt` parameters accept the same values as
IO.open.

    f1 = File.new("testfile")
    f2 = File.new("testfile")
    f2.readlines[0]   #=> "This is line one\n"
    f2.reopen(f1)     #=> #<File:testfile>
    f2.readlines[0]   #=> "This is line one\n"



      

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.