Module: Kitchen::Directions::SolutionAreaSnippet

Defined in:
lib/kitchen/directions/move_solutions_to_answer_key/solution_area_snippet.rb

Class Method Summary collapse

Class Method Details

.v1(title:, solutions_clipboard:) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/kitchen/directions/move_solutions_to_answer_key/solution_area_snippet.rb', line 4

def self.v1(title:, solutions_clipboard:)
  <<~HTML
    <div class="os-solution-area">
      #{title}
      #{solutions_clipboard.paste}
    </div>
  HTML
end