finish

ec.finish รข string
Instance Public methods

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"
doc_ruby_on_rails
2015-04-04 18:43:08
Comments
Leave a Comment

Please login to continue.