Flowdock
method

finish

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Converter
finish() public

Finishes the converter. It returns the last part of the converted string.

ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
p ec.convert("\u3042")     #=> "\e$B$\""
p ec.finish                #=> "\e(B"
Show source
Register or log in to add new notes.