This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# String.insert (from ruby core) --- insert(index, other_string) -> self --- Inserts the given `other_string` into `self`; returns `self`. If the Integer `index` is positive, inserts `other_string` at offset `index`: 'foo'.insert(1, 'bar') # => "fbaroo" If the Integer `index` is negative, counts backward from the end of `self` and inserts `other_string` at offset `index+1` (that is, *after* `self[index]`): 'foo'.insert(-2, 'bar') # => "fobaro"
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.