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