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

pre_match

        # StringScanner.pre_match

(from ruby core)
---
    pre_match()

---

Returns the ***pre**-match* (in the regular expression sense) of the
last scan.

    s = StringScanner.new('test string')
    s.scan(/\w+/)           # -> "test"
    s.scan(/\s+/)           # -> " "
    s.pre_match             # -> "test"
    s.post_match            # -> "string"



      

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.