class RadixEncoding::Encoding::AlphabetTooShortError
Public Class Methods
new(alphabet_bytesize:, radix:)
click to toggle source
Calls superclass method
# File lib/radix_encoding/encoding/errors.rb, line 6 def initialize(alphabet_bytesize:, radix:) super <<~MESSAGE The provided alphabet is too short. It has #{alphabet_bytesize} bytes, must have at least #{radix} bytes. MESSAGE end