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

shutdown

        # BasicSocket.shutdown

(from ruby core)
---
    basicsocket.shutdown([how]) => 0

---

Calls shutdown(2) system call.

s.shutdown(Socket::SHUT_RD) disallows further read.

s.shutdown(Socket::SHUT_WR) disallows further write.

s.shutdown(Socket::SHUT_RDWR) disallows further read and write.

*how* can be symbol or string:
*   :RD, :SHUT_RD, "RD" and "SHUT_RD" are accepted as Socket::SHUT_RD.
*   :WR, :SHUT_WR, "WR" and "SHUT_WR" are accepted as Socket::SHUT_WR.
*   :RDWR, :SHUT_RDWR, "RDWR" and "SHUT_RDWR" are accepted as
    Socket::SHUT_RDWR.

    UNIXSocket.pair {|s1, s2|
        s1.puts "ping"
        s1.shutdown(:WR)
        p s2.read          #=> "ping\n"
        s2.puts "pong"
        s2.close
        p s1.read          #=> "pong\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.