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

join

        # Array.join

(from ruby core)
---
    array.join ->new_string
    array.join(separator = $,) -> new_string

---

Returns the new String formed by joining the array elements after
conversion. For each element `element`
*   Uses `element.to_s` if `element` is not a `kind_of?(Array)`.
*   Uses recursive `element.join(separator)` if `element` is a
    `kind_of?(Array)`.


With no argument, joins using the output field separator, `$,`:
    a = [:foo, 'bar', 2]
    $, # => nil
    a.join # => "foobar2"

With string argument `separator`, joins using that separator:
    a = [:foo, 'bar', 2]
    a.join("\n") # => "foo\nbar\n2"

Joins recursively for nested Arrays:
    a = [:foo, [:bar, [:baz, :bat]]]
    a.join # => "foobarbazbat"



      

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.