Class: VivlioStarter::CLI::IndexCommands::HeadingOutline::Heading

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/index/heading_outline.rb

Overview

見出し 1 つ。ancestors は上位の見出し(正規化済み文言)。

Instance Attribute Summary collapse

Instance Attribute Details

#ancestorsObject (readonly)

Returns the value of attribute ancestors

Returns:

  • (Object)

    the current value of ancestors



37
38
39
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37

def ancestors
  @ancestors
end

#levelObject (readonly)

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



37
38
39
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37

def level
  @level
end

#linenoObject (readonly)

Returns the value of attribute lineno

Returns:

  • (Object)

    the current value of lineno



37
38
39
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37

def lineno
  @lineno
end

#normalizedObject (readonly)

Returns the value of attribute normalized

Returns:

  • (Object)

    the current value of normalized



37
38
39
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37

def normalized
  @normalized
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



37
38
39
# File 'lib/vivlio_starter/cli/index/heading_outline.rb', line 37

def text
  @text
end