This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Socket::Option.ipv4_multicast_loop (from ruby core) ### Implementation from Option --- Socket::Option.ipv4_multicast_loop(integer) => sockopt --- Creates a new Socket::Option object for IP_MULTICAST_LOOP. The size is dependent on the platform. sockopt = Socket::Option.int(:INET, :IPPROTO_IP, :IP_MULTICAST_LOOP, 1) p sockopt.int => 1 p Socket::Option.ipv4_multicast_loop(10) #=> #<Socket::Option: INET IP MULTICAST_LOOP 10> (from ruby core) ### Implementation from Option --- sockopt.ipv4_multicast_loop => integer --- Returns the ipv4_multicast_loop data in *sockopt* as an integer. sockopt = Socket::Option.ipv4_multicast_loop(10) p sockopt.ipv4_multicast_loop => 10
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.