Exception: Dio::Errors::NoDeconstructionMethod
- Inherits:
-
StandardError
- Object
- StandardError
- Dio::Errors::NoDeconstructionMethod
- Defined in:
- lib/dio/errors.rb
Overview
Error raised when no deconstruction method is available on an object being treated like an Array deconstruction.
Constant Summary collapse
- MSG =
Error message
'Object provided no method of deconstruction (to_a, to_ary, map, Enumerable)'
Instance Method Summary collapse
-
#initialize(msg = MSG) ⇒ NoDeconstructionMethod
constructor
A new instance of NoDeconstructionMethod.
Constructor Details
#initialize(msg = MSG) ⇒ NoDeconstructionMethod
Returns a new instance of NoDeconstructionMethod.
12 |
# File 'lib/dio/errors.rb', line 12 def initialize(msg=MSG) = super |