Class: VivlioStarter::CLI::TocCommands::Heading

Inherits:
Struct
  • Object
show all
Defined in:
lib/vivlio_starter/cli/toc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#css_classObject

Returns the value of attribute css_class

Returns:

  • (Object)

    the current value of css_class



332
333
334
# File 'lib/vivlio_starter/cli/toc.rb', line 332

def css_class
  @css_class
end

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



332
333
334
# File 'lib/vivlio_starter/cli/toc.rb', line 332

def href
  @href
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



332
333
334
# File 'lib/vivlio_starter/cli/toc.rb', line 332

def level
  @level
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



332
333
334
# File 'lib/vivlio_starter/cli/toc.rb', line 332

def text
  @text
end

Instance Method Details