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

intersect?

        # Array.intersect?

(from ruby core)
---
    ary.intersect?(other_ary)   -> true or false

---

Returns `true` if the array and `other_ary` have at least one element in
common, otherwise returns `false`.

    a = [ 1, 2, 3 ]
    b = [ 3, 4, 5 ]
    c = [ 5, 6, 7 ]
    a.intersect?(b)   #=> true
    a.intersect?(c)   #=> false



      

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.