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

<<

        # StringScanner.<<

(from ruby core)
---
    <<(p1)

---

Appends `str` to the string being scanned. This method does not affect
scan pointer.

    s = StringScanner.new("Fri Dec 12 1975 14:39")
    s.scan(/Fri /)
    s << " +1000 GMT"
    s.string            # -> "Fri Dec 12 1975 14:39 +1000 GMT"
    s.scan(/Dec/)       # -> "Dec"


(This method is an alias for StringScanner#concat.)

Appends `str` to the string being scanned. This method does not affect
scan pointer.

    s = StringScanner.new("Fri Dec 12 1975 14:39")
    s.scan(/Fri /)
    s << " +1000 GMT"
    s.string            # -> "Fri Dec 12 1975 14:39 +1000 GMT"
    s.scan(/Dec/)       # -> "Dec"



      

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.