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

ascii_only?

        # String.ascii_only?

(from ruby core)
---
    str.ascii_only?  -> true or false

---

Returns true for a string which has only ASCII characters.

    "abc".force_encoding("UTF-8").ascii_only?          #=> true
    "abc\u{6666}".force_encoding("UTF-8").ascii_only?  #=> false



      

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.