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

TCPSocket

        # TCPSocket < IPSocket

(from ruby core)
---
TCPSocket represents a TCP/IP client socket.

A simple client may look like:

    require 'socket'

    s = TCPSocket.new 'localhost', 2000

    while line = s.gets # Read lines from socket
      puts line         # and print them
    end

    s.close             # close socket when done

---
# Class methods:

    gethostbyname
    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.