Class: VivlioStarter::CLI::IndexCommands::HeadingOutline::Heading
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::IndexCommands::HeadingOutline::Heading
- Defined in:
- lib/vivlio_starter/cli/index/heading_outline.rb
Overview
見出し 1 つ。ancestors は上位の見出し(正規化済み文言)。
Instance Attribute Summary collapse
-
#ancestors ⇒ Object
readonly
Returns the value of attribute ancestors.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
-
#normalized ⇒ Object
readonly
Returns the value of attribute normalized.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Attribute Details
#ancestors ⇒ Object (readonly)
Returns the value of attribute ancestors
37 38 39 |
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37 def ancestors @ancestors end |
#level ⇒ Object (readonly)
Returns the value of attribute level
37 38 39 |
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37 def level @level end |
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno
37 38 39 |
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37 def lineno @lineno end |
#normalized ⇒ Object (readonly)
Returns the value of attribute normalized
37 38 39 |
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37 def normalized @normalized end |
#text ⇒ Object (readonly)
Returns the value of attribute text
37 38 39 |
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37 def text @text end |