Exception: Quill::UnsatisfiedDependencyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/quill/unsatisfied_dependency_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dependency) ⇒ UnsatisfiedDependencyError

Returns a new instance of UnsatisfiedDependencyError.



3
4
5
6
# File 'lib/quill/unsatisfied_dependency_error.rb', line 3

def initialize(dependency)
  @dependency = dependency
  super
end

Instance Attribute Details

#dependencyObject (readonly)

Returns the value of attribute dependency.



12
13
14
# File 'lib/quill/unsatisfied_dependency_error.rb', line 12

def dependency
  @dependency
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/quill/unsatisfied_dependency_error.rb', line 8

def message
  "No implementation for the feature #{dependency} is registered with the container."
end