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.



26
27
28
29
30
# File 'lib/teapot/dependency.rb', line 26

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

Instance Attribute Details

#chainObject (readonly)

Returns the value of attribute chain.



32
33
34
# File 'lib/teapot/dependency.rb', line 32

def chain
  @chain
end