This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

local_variable_get

        # Binding.local_variable_get

(from ruby core)
---
    binding.local_variable_get(symbol) -> obj

---

Returns the value of the local variable `symbol`.

    def foo
      a = 1
      binding.local_variable_get(:a) #=> 1
      binding.local_variable_get(:b) #=> NameError
    end

This method is the short version of the following code:

    binding.eval("#{symbol}")



      

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.