This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Socket::Option.byte (from ruby core) ### Implementation from Option --- Socket::Option.byte(family, level, optname, integer) => sockopt --- Creates a new Socket::Option object which contains a byte as data. p Socket::Option.byte(:INET, :SOCKET, :KEEPALIVE, 1) #=> #<Socket::Option: INET SOCKET KEEPALIVE 1> (from ruby core) ### Implementation from Option --- sockopt.byte => integer --- Returns the data in *sockopt* as an byte. sockopt = Socket::Option.byte(:INET, :SOCKET, :KEEPALIVE, 1) p sockopt.byte => 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.