This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Binding.local_variable_set (from ruby core) --- binding.local_variable_set(symbol, obj) -> obj --- Set local variable named `symbol` as `obj`. def foo a = 1 bind = binding bind.local_variable_set(:a, 2) # set existing local variable `a' bind.local_variable_set(:b, 3) # create new local variable `b' # `b' exists only in binding p bind.local_variable_get(:a) #=> 2 p bind.local_variable_get(:b) #=> 3 p a #=> 2 p b #=> NameError end This method behaves similarly to the following code: binding.eval("#{symbol} = #{obj}") if `obj` can be dumped in Ruby code.
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.