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

-

        # Array.-

(from ruby core)
---
    array - other_array -> new_array

---

Returns a new Array containing only those elements from `array` that are
not found in Array `other_array`; items are compared using `eql?`; the
order from `array` is preserved:
    [0, 1, 1, 2, 1, 1, 3, 1, 1] - [1] # => [0, 2, 3]
    [0, 1, 2, 3] - [3, 0] # => [1, 2]
    [0, 1, 2] - [4] # => [0, 1, 2]

Related: Array#difference.



      

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.