Exception: Teaspoon::NotFoundInRegistry
- Defined in:
- lib/teaspoon/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg_or_options) ⇒ NotFoundInRegistry
constructor
A new instance of NotFoundInRegistry.
Constructor Details
#initialize(msg_or_options) ⇒ NotFoundInRegistry
Returns a new instance of NotFoundInRegistry.
95 96 97 98 99 |
# File 'lib/teaspoon/exceptions.rb', line 95 def initialize() super(() do || "Unknown configuration: expected \"#{options[:name]}\" to be registered. Available options are #{options[:available]}" end) end |