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

set_encoding

        # StringIO.set_encoding

(from ruby core)
---
    strio.set_encoding(ext_enc, [int_enc[, opt]])  => strio

---

Specify the encoding of the StringIO as *ext_enc*. Use the default
external encoding if *ext_enc* is nil. 2nd argument *int_enc* and
optional hash *opt* argument are ignored; they are for API compatibility
to IO.



      

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.