Sha256: 9422f021f11267428ac16d74bdc761713cde7327c91ca9f2ef4e7e87b909c678
Contents?: true
Size: 334 Bytes
Versions: 25
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true module Kitchen module Directions module BakeCompositeChapters def self.v1(book:) book.composite_chapters.each do |chapter| chapter.first("[data-type='document-title']").id = "composite-chapter-#{chapter.count_in(:book)}" end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems