This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# BasicSocket.do_not_reverse_lookup= (from ruby core) --- BasicSocket.do_not_reverse_lookup = bool --- Sets the global do_not_reverse_lookup flag. The flag is used for initial value of do_not_reverse_lookup for each socket. s1 = TCPSocket.new("localhost", 80) p s1.do_not_reverse_lookup #=> true BasicSocket.do_not_reverse_lookup = false s2 = TCPSocket.new("localhost", 80) p s2.do_not_reverse_lookup #=> false p s1.do_not_reverse_lookup #=> true (from ruby core) --- basicsocket.do_not_reverse_lookup = bool --- Sets the do_not_reverse_lookup flag of *basicsocket*. TCPSocket.open("www.ruby-lang.org", 80) {|sock| p sock.do_not_reverse_lookup #=> true p sock.peeraddr #=> ["AF_INET", 80, "221.186.184.68", "221.186.184.68"] sock.do_not_reverse_lookup = false p sock.peeraddr #=> ["AF_INET", 80, "carbon.ruby-lang.org", "54.163.249.195"] }
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.