class Multibases::MissingEncoding

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/multibases/error.rb, line 33
def initialize
  super 'Can not convert from ByteArray to string without encoding. Pass ' \
        'the resulting string encoding as the first argument of to_s.' \
        "\n" \
        'This does not default to UTF-8 or US-ASCII because that would ' \
        'hide issues until you have output that is NOT encoding as UTF-8 ' \
        'or US-ASCII and does not fit in those ranges.'
end