This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# String.partition (from ruby core) --- str.partition(sep) -> [head, sep, tail] str.partition(regexp) -> [head, match, tail] --- Searches *sep* or pattern (*regexp*) in the string and returns the part before it, the match, and the part after it. If it is not found, returns two empty strings and *str*. "hello".partition("l") #=> ["he", "l", "lo"] "hello".partition("x") #=> ["hello", "", ""] "hello".partition(/.l/) #=> ["h", "el", "lo"]
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.