Exception: Teapot::Dependency::UnresolvedDependencyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teapot/dependency.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chain) ⇒ UnresolvedDependencyError

Returns a new instance of UnresolvedDependencyError.



28
29
30
31
32
# File 'lib/teapot/dependency.rb', line 28

def initialize(chain)
  super "Unresolved dependency chain!"
  
  @chain = chain
end

Instance Attribute Details

#chainObject (readonly)

Returns the value of attribute chain.



34
35
36
# File 'lib/teapot/dependency.rb', line 34

def chain
  @chain
end