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

valid_encoding?

        # String.valid_encoding?

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

---

Returns true for a string which is encoded correctly.

    "\xc2\xa1".force_encoding("UTF-8").valid_encoding?  #=> true
    "\xc2".force_encoding("UTF-8").valid_encoding?      #=> false
    "\x80".force_encoding("UTF-8").valid_encoding?      #=> 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.