Exception: Komponent::ComponentPathResolver::MissingComponentError
- Inherits:
-
StandardError
- Object
- StandardError
- Komponent::ComponentPathResolver::MissingComponentError
- Defined in:
- lib/komponent/core/component_path_resolver.rb
Instance Method Summary collapse
-
#initialize(component_name, paths) ⇒ MissingComponentError
constructor
A new instance of MissingComponentError.
Constructor Details
#initialize(component_name, paths) ⇒ MissingComponentError
Returns a new instance of MissingComponentError.
45 46 47 48 49 50 51 |
# File 'lib/komponent/core/component_path_resolver.rb', line 45 def initialize(component_name, paths) = "Component `#{component_name}` not found in:\n" paths.each do |path| += " * #{path}\n" end super() end |