Exception: Dio::Errors::NoDeconstructionMethod

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dio/errors.rb

Overview

Error raised when no deconstruction method is available on an object being treated like an Array deconstruction.

Author:

  • baweaver

Since:

  • 0.0.1

Constant Summary collapse

MSG =

Error message

Since:

  • 0.0.1

'Object provided no method of deconstruction (to_a, to_ary, map, Enumerable)'

Instance Method Summary collapse

Constructor Details

#initialize(msg = MSG) ⇒ NoDeconstructionMethod

Returns a new instance of NoDeconstructionMethod.

Since:

  • 0.0.1



12
# File 'lib/dio/errors.rb', line 12

def initialize(msg=MSG) = super