# frozen_string_literal: true module Kitchen::Directions::MoveSolutionsToAnswerKey class V1 def bake(chapter:, metadata_source:, strategy:, append_to:) strategy = case strategy when :calculus Strategies::Calculus when :uphysics Strategies::UPhysics when :american_government Strategies::AmericanGovernment else raise 'No such strategy' end append_to.append(child: <<~HTML