Module: Kitchen::Directions::BakeCompositePages

Defined in:
lib/kitchen/directions/bake_composite_pages.rb

Class Method Summary collapse

Class Method Details

.v1(book:) ⇒ Object



6
7
8
9
10
# File 'lib/kitchen/directions/bake_composite_pages.rb', line 6

def self.v1(book:)
  book.composite_pages.each do |page|
    page.id = "composite-page-#{page.count_in(:book)}"
  end
end