Sha256: d5725ea29681e91f10568a4c4441b8006977e5117c096741bf7ba82b8275073e

Contents?: true

Size: 350 Bytes

Versions: 13

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module Kitchen::Directions::BakeChapterIntroductions
  class BakeChapterOutline
    def bake(chapter_objectives_html:)
      <<~HTML
        <div class="os-chapter-outline">
          <h3 class="os-title">#{I18n.t(:chapter_outline)}</h3>
          #{chapter_objectives_html}
        </div>
      HTML
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
openstax_kitchen-19.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-18.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-17.1.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-17.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-16.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-15.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-14.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-13.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-12.2.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-12.1.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-12.0.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-11.2.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb
openstax_kitchen-11.1.0 lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb