Exception: Kiba::Extend::Registry::Creator::JoblessModuleCreatorError

Inherits:
Error
  • Object
show all
Defined in:
lib/kiba/extend/registry/creator/jobless_module_creator_error.rb

Overview

Raised when you try to initialize a Creator with an invalid value (a module that lacks a job method)

Since:

  • 2.2.0

Instance Method Summary collapse

Methods included from ErrMod

#calling_job, #info

Constructor Details

#initialize(spec) ⇒ JoblessModuleCreatorError

Returns a new instance of JoblessModuleCreatorError.

Since:

  • 2.2.0



10
11
12
13
# File 'lib/kiba/extend/registry/creator/jobless_module_creator_error.rb', line 10

def initialize(spec)
  super("#{spec} passed as Registry::Creator, but does not define "\
        "`job` method")
end