Exception: Multibases::AlphabetOutOfRange
- Defined in:
- lib/multibases/error.rb
Instance Method Summary collapse
-
#initialize(ord) ⇒ AlphabetOutOfRange
constructor
A new instance of AlphabetOutOfRange.
Constructor Details
#initialize(ord) ⇒ AlphabetOutOfRange
Returns a new instance of AlphabetOutOfRange.
15 16 17 18 19 20 |
# File 'lib/multibases/error.rb', line 15 def initialize(ord) super( 'The multibase spec currently only allows for alphabet characters in ' \ "the 0-255 range. '#{ord}' is outside that range." ) end |