Ruby Iconv::Failure Functions

EditRocket provides the following information on Iconv::Failure functions in the Ruby source code builder.

failed - Returns substring of the original string passed to Iconv that starts at the character caused the exception.

inspect - "Returns inspected string like as: #<class: success, failed>"

new" Iconv.new(to, from) - Creates new code converter from a coding-system designated with from to another one designated with to.

success - Returns string(s) translated successfully until the exception occurred.