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

begin

        # MatchData.begin

(from ruby core)
---
    mtch.begin(n)   -> integer

---

Returns the offset of the start of the *n*th element of the match array
in the string. *n* can be a string or symbol to reference a named
capture.

    m = /(.)(.)(\d+)(\d)/.match("THX1138.")
    m.begin(0)       #=> 1
    m.begin(2)       #=> 2

    m = /(?<foo>.)(.)(?<bar>.)/.match("hoge")
    p m.begin(:foo)  #=> 0
    p m.begin(:bar)  #=> 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.