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

unpack

        # Socket::Option.unpack

(from ruby core)
### Implementation from Option
---
    sockopt.unpack(template) => array

---

Calls String#unpack on sockopt.data.

    sockopt = Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i"))
    p sockopt.unpack("i")      #=> [1]
    p sockopt.data.unpack("i") #=> [1]



      

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.