This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Ripper::Lexer.tokenize (from ruby core) --- tokenize(src, filename = '-', lineno = 1, **kw) --- Tokenizes the Ruby program and returns an array of strings. The `filename` and `lineno` arguments are mostly ignored, since the return value is just the tokenized input. By default, this method does not handle syntax errors in `src`, use the `raise_errors` keyword to raise a SyntaxError for an error in `src`. p Ripper.tokenize("def m(a) nil end") # => ["def", " ", "m", "(", "a", ")", " ", "nil", " ", "end"]
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.