Exception: SimpleNavigationBootstrap::InvalidHash
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleNavigationBootstrap::InvalidHash
- Defined in:
- lib/simple_navigation_bootstrap/errors.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.
6 7 8 |
# File 'lib/simple_navigation_bootstrap/errors.rb', line 6 def initialize(msg = "Hash does not contain any of parameters: 'text', 'icon'") super end |