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

getch

        # StringScanner.getch

(from ruby core)
---
    getch()

---

Scans one character and returns it. This method is multibyte character
sensitive.

    s = StringScanner.new("ab")
    s.getch           # => "a"
    s.getch           # => "b"
    s.getch           # => nil

    s = StringScanner.new("\244\242".force_encoding("euc-jp"))
    s.getch           # => "\x{A4A2}"   # Japanese hira-kana "A" in EUC-JP
    s.getch           # => 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.