This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Addrinfo.getnameinfo (from ruby core) --- addrinfo.getnameinfo => [nodename, service] addrinfo.getnameinfo(flags) => [nodename, service] --- returns nodename and service as a pair of strings. This converts struct sockaddr in addrinfo to textual representation. flags should be bitwise OR of Socket::NI_??? constants. Addrinfo.tcp("127.0.0.1", 80).getnameinfo #=> ["localhost", "www"] Addrinfo.tcp("127.0.0.1", 80).getnameinfo(Socket::NI_NUMERICSERV) #=> ["localhost", "80"]
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.