Class: Howdoc::Registry::Record
- Inherits:
-
Struct
- Object
- Struct
- Howdoc::Registry::Record
- Defined in:
- lib/howdoc/registry.rb
Overview
A guide as it appears in the index. It answers to the same readers a live Howdoc::Document does, so configuration hooks work with either.
Instance Attribute Summary collapse
-
#heading ⇒ Object
Returns the value of attribute heading.
-
#id ⇒ Object
Returns the value of attribute id.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#permalink ⇒ Object
Returns the value of attribute permalink.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#heading ⇒ Object
Returns the value of attribute heading
30 31 32 |
# File 'lib/howdoc/registry.rb', line 30 def heading @heading end |
#id ⇒ Object
Returns the value of attribute id
30 31 32 |
# File 'lib/howdoc/registry.rb', line 30 def id @id end |
#locale ⇒ Object
Returns the value of attribute locale
30 31 32 |
# File 'lib/howdoc/registry.rb', line 30 def locale @locale end |
#permalink ⇒ Object
Returns the value of attribute permalink
30 31 32 |
# File 'lib/howdoc/registry.rb', line 30 def permalink @permalink end |
#title ⇒ Object
Returns the value of attribute title
30 31 32 |
# File 'lib/howdoc/registry.rb', line 30 def title @title end |
Instance Method Details
#filename ⇒ Object
31 32 33 |
# File 'lib/howdoc/registry.rb', line 31 def filename "#{permalink}.html" end |