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

pointer=

        # StringScanner.pointer=

(from ruby core)
---
    pointer=(p1)

---

Sets the byte position of the scan pointer.

    s = StringScanner.new('test string')
    s.pos = 7            # -> 7
    s.rest               # -> "ring"


(This method is an alias for StringScanner#pos=.)

Sets the byte position of the scan pointer.

    s = StringScanner.new('test string')
    s.pos = 7            # -> 7
    s.rest               # -> "ring"



      

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.