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

exist?

        # StringScanner.exist?

(from ruby core)
---
    exist?(pattern)

---

Looks *ahead* to see if the `pattern` exists *anywhere* in the string,
without advancing the scan pointer.  This predicates whether a
#scan_until will return a value.

    s = StringScanner.new('test string')
    s.exist? /s/            # -> 3
    s.scan /test/           # -> "test"
    s.exist? /s/            # -> 2
    s.exist? /e/            # -> nil



      

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.