Exception: Multibases::NoEngine
- Defined in:
- lib/multibases/error.rb
Instance Method Summary collapse
-
#initialize(encoding) ⇒ NoEngine
constructor
A new instance of NoEngine.
Constructor Details
#initialize(encoding) ⇒ NoEngine
Returns a new instance of NoEngine.
5 6 7 8 9 10 11 |
# File 'lib/multibases/error.rb', line 5 def initialize(encoding) super( "There is no engine registered to encode or decode #{encoding}.\n" \ 'Either pass it as an argument, or use Multibases.implement to ' \ 'register it globally.' ) end |