Module: Kitchen::Directions::AnswerKeyInnerContainer

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

Defined Under Namespace

Classes: V1

Class Method Summary collapse

Class Method Details

.v1(chapter:, metadata_source:, append_to:, options: { solutions_plural: true, in_preface: false, in_appendix: false, cases: false }) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/kitchen/directions/move_solutions_to_answer_key/answer_key_inner_container.rb', line 4

def self.v1(chapter:, metadata_source:, append_to:, options: {
  solutions_plural: true,
  in_preface: false,
  in_appendix: false,
  cases: false
})
  options.reverse_merge!(
    solutions_plural: true,
    in_preface: false,
    in_appendix: false,
    cases: false
  )
  V1.new.bake(
    chapter: chapter,
    metadata_source: ,
    append_to: append_to,
    options: options
  )
end