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