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

location=

        # ERB.location=

(from ruby core)
---
    location=((filename, lineno))

---

Sets optional filename and line number that will be used in ERB code
evaluation and error reporting. See also #filename= and #lineno=

    erb = ERB.new('<%= some_x %>')
    erb.render
    # undefined local variable or method `some_x'
    #   from (erb):1

    erb.location = ['file.erb', 3]
    # All subsequent error reporting would use new location
    erb.render
    # undefined local variable or method `some_x'
    #   from file.erb:4



      

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.