Exception: Multibases::AlphabetEncodingInvalid
- Defined in:
- lib/multibases/error.rb
Instance Method Summary collapse
-
#initialize(encoding) ⇒ AlphabetEncodingInvalid
constructor
A new instance of AlphabetEncodingInvalid.
Constructor Details
#initialize(encoding) ⇒ AlphabetEncodingInvalid
Returns a new instance of AlphabetEncodingInvalid.
24 25 26 27 28 29 |
# File 'lib/multibases/error.rb', line 24 def initialize(encoding) super( "The encoding '#{encoding}' is invalid for the given alphabet. " \ 'Supply an encoding that is valid for each character in the alphabet.' ) end |