Flowdock
method

set_encoding

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: StringIO
set_encoding(p1, p2 = v2, p3 = {}) public

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.

Show source
Register or log in to add new notes.