Exception: SimpleNavigationRenderers::InvalidHash
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleNavigationRenderers::InvalidHash
- Defined in:
- lib/simple_navigation_renderers/exceptions.rb
Overview
Exception raised when you set Hash without both ‘text’ and ‘icon’ parameters as Item ‘name’ parameter
Instance Method Summary collapse
-
#initialize(msg = "Hash does not contain any of parameters: 'text', 'icon'") ⇒ InvalidHash
constructor
A new instance of InvalidHash.
Constructor Details
#initialize(msg = "Hash does not contain any of parameters: 'text', 'icon'") ⇒ InvalidHash
Returns a new instance of InvalidHash.
4 5 6 |
# File 'lib/simple_navigation_renderers/exceptions.rb', line 4 def initialize( msg = "Hash does not contain any of parameters: 'text', 'icon'" ) super end |