This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# RubyVM::InstructionSequence.label (from ruby core) ### Implementation from InstructionSequence --- label() --- Returns the label of this instruction sequence. `<main>` if it's at the top level, `<compiled>` if it was evaluated from a string. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.label #=> "<compiled>" Using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.label #=> <main>
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.