Sha256: 6e939da6c859e13ae421601464194c0716712c4e2476566196c7ada1e5f693fa
Contents?: true
Size: 599 Bytes
Versions: 14
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true module Kitchen::Directions::MoveExercisesToEOC class V1 def bake(chapter:, metadata_source:, klass:, append_to: nil, uuid_prefix: '.') Kitchen::Directions::MoveCustomSectionToEocContainer.v1( chapter: chapter, metadata_source: metadata_source, container_key: klass, uuid_key: "#{uuid_prefix}#{klass}", section_selector: "section.#{klass}", append_to: append_to || chapter ) do |exercise_section| Kitchen::Directions::RemoveSectionTitle.v1(section: exercise_section) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems