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

captures

        # MatchData.captures

(from ruby core)
---
    mtch.captures   -> array

---

Returns the array of captures; equivalent to `mtch.to_a[1..-1]`.

    f1,f2,f3,f4 = /(.)(.)(\d+)(\d)/.match("THX1138.").captures
    f1    #=> "H"
    f2    #=> "X"
    f3    #=> "113"
    f4    #=> "8"



      

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.