Class: Jekyll::AwesomeNav::NavFile
- Inherits:
-
Object
- Object
- Jekyll::AwesomeNav::NavFile
- Defined in:
- lib/jekyll/awesome_nav/nav_file.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(items:, options:) ⇒ NavFile
constructor
A new instance of NavFile.
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 = end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
6 7 8 |
# File 'lib/jekyll/awesome_nav/nav_file.rb', line 6 def items @items end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/jekyll/awesome_nav/nav_file.rb', line 6 def @options end |