Exception: SimpleNavigationRenderers::InvalidHash

Inherits:
StandardError
  • Object
show all
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

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