Exception: NeedsResources::InvalidResourceKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- NeedsResources::InvalidResourceKeyError
- Defined in:
- lib/needs_resources/invalid_resource_key_error.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidResourceKeyError
constructor
A new instance of InvalidResourceKeyError.
Constructor Details
#initialize(name) ⇒ InvalidResourceKeyError
Returns a new instance of InvalidResourceKeyError.
4 5 6 |
# File 'lib/needs_resources/invalid_resource_key_error.rb', line 4 def initialize(name) super "Invalid resource key in config file: #{name.inspect}" end |