Class: VivlioStarter::CLI::Build::CatalogLoader::CatalogEntry

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/build/catalog_loader.rb

Overview

TokenResolver へ渡す 3 つ組。label は最内の部タイトル(なければセクション名)。 仕様: catalog-parser-unification-spec.md §3.1

Instance Attribute Summary collapse

Instance Attribute Details

#basenameObject (readonly)

Returns the value of attribute basename

Returns:

  • (Object)

    the current value of basename



32
33
34
# File 'lib/vivlio_starter/cli/build/catalog_loader.rb', line 32

def basename
  @basename
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



32
33
34
# File 'lib/vivlio_starter/cli/build/catalog_loader.rb', line 32

def label
  @label
end

#sectionObject (readonly)

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



32
33
34
# File 'lib/vivlio_starter/cli/build/catalog_loader.rb', line 32

def section
  @section
end