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

set_encoding

        # IO.set_encoding

(from ruby core)
---
    io.set_encoding(ext_enc)                -> io
    io.set_encoding("ext_enc:int_enc")      -> io
    io.set_encoding(ext_enc, int_enc)       -> io
    io.set_encoding("ext_enc:int_enc", opt) -> io
    io.set_encoding(ext_enc, int_enc, opt)  -> io

---

If single argument is specified, read string from io is tagged with the
encoding specified.  If encoding is a colon separated two encoding names
"A:B", the read string is converted from encoding A (external encoding)
to encoding B (internal encoding), then tagged with B.  If two arguments
are specified, those must be encoding objects or encoding names, and the
first one is the external encoding, and the second one is the internal
encoding. If the external encoding and the internal encoding is
specified, optional hash argument specify the conversion option.



      

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.