Method: SemanticNavigation::Core::Base#initialize
- Defined in:
- lib/semantic_navigation/core/base.rb
#initialize(options, level) ⇒ Base
Returns a new instance of Base.
18 19 20 21 22 23 24 |
# File 'lib/semantic_navigation/core/base.rb', line 18 def initialize(, level) @level = level @html = {} .keys.each do |option_name| instance_variable_set :"@#{option_name}", [option_name] end end |