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

shuffle

        # Array.shuffle

(from ruby core)
---
    array.shuffle(random: Random) -> new_ary

---

Returns a new array with elements of `self` shuffled.
    a = [1, 2, 3] #=> [1, 2, 3]
    a.shuffle     #=> [2, 3, 1]
    a             #=> [1, 2, 3]

The optional `random` argument will be used as the random number
generator:
    a.shuffle(random: Random.new(1))  #=> [1, 3, 2]



      

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.