Class: Jekyll::AwesomeNav::NavFile

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll/awesome_nav/nav_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items:, options:) ⇒ NavFile

Returns a new instance of NavFile.



8
9
10
11
# File 'lib/jekyll/awesome_nav/nav_file.rb', line 8

def initialize(items:, options:)
  @items = items
  @options = options
end

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items.



6
7
8
# File 'lib/jekyll/awesome_nav/nav_file.rb', line 6

def items
  @items
end

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/jekyll/awesome_nav/nav_file.rb', line 6

def options
  @options
end