Exception: Quill::UnsatisfiedDependencyError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Quill::UnsatisfiedDependencyError
- Defined in:
- lib/quill/unsatisfied_dependency_error.rb
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
Instance Method Summary collapse
-
#initialize(dependency) ⇒ UnsatisfiedDependencyError
constructor
A new instance of UnsatisfiedDependencyError.
- #message ⇒ Object
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
#dependency ⇒ Object (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
#message ⇒ Object
8 9 10 |
# File 'lib/quill/unsatisfied_dependency_error.rb', line 8 def "No implementation for the feature #{dependency} is registered with the container." end |