Module: Kitchen::Directions::BakeChapterReferences

Defined in:
lib/kitchen/directions/bake_chapter_references/v1.rb,
lib/kitchen/directions/bake_chapter_references/v2.rb,
lib/kitchen/directions/bake_chapter_references/v3.rb,
lib/kitchen/directions/bake_chapter_references/main.rb

Defined Under Namespace

Classes: V1, V2, V3

Class Method Summary collapse

Class Method Details

.v1(chapter:, metadata_source:, uuid_prefix: '.', klass: 'references') ⇒ Object



6
7
8
9
10
11
12
# File 'lib/kitchen/directions/bake_chapter_references/main.rb', line 6

def self.v1(chapter:, metadata_source:, uuid_prefix: '.', klass: 'references')
  V1.new.bake(
    chapter: chapter,
    metadata_source: ,
    uuid_prefix: uuid_prefix,
    klass: klass)
end

.v2(chapter:, metadata_source:, uuid_prefix: '.', klass: 'references') ⇒ Object



14
15
16
17
18
19
20
# File 'lib/kitchen/directions/bake_chapter_references/main.rb', line 14

def self.v2(chapter:, metadata_source:, uuid_prefix: '.', klass: 'references')
  V2.new.bake(
    chapter: chapter,
    metadata_source: ,
    uuid_prefix: uuid_prefix,
    klass: klass)
end

.v3(chapter:, metadata_source:, uuid_prefix: '.') ⇒ Object



22
23
24
25
26
27
# File 'lib/kitchen/directions/bake_chapter_references/main.rb', line 22

def self.v3(chapter:, metadata_source:, uuid_prefix: '.')
  V3.new.bake(
    chapter: chapter,
    metadata_source: ,
    uuid_prefix: uuid_prefix)
end