Class: Kitchen::Directions::BakeChapterIntroductions::BakeChapterOutline

Inherits:
Object
  • Object
show all
Defined in:
lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb

Instance Method Summary collapse

Instance Method Details

#bake(chapter_objectives_html:) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/kitchen/directions/bake_chapter_introductions/bake_chapter_outline.rb', line 5

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