This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Module.class_variable_set (from ruby core) --- obj.class_variable_set(symbol, obj) -> obj obj.class_variable_set(string, obj) -> obj --- Sets the class variable named by *symbol* to the given object. If the class variable name is passed as a string, that string is converted to a symbol. class Fred @@foo = 99 def foo @@foo end end Fred.class_variable_set(:@@foo, 101) #=> 101 Fred.new.foo #=> 101
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.