Module: Kitchen::Directions::BakeNumberedExercise
- Defined in:
- lib/kitchen/directions/bake_numbered_exercise/v1.rb,
lib/kitchen/directions/bake_numbered_exercise/main.rb
Defined Under Namespace
Classes: V1
Class Method Summary collapse
-
.bake_solution_v1(exercise:, number:, divider: '. ') ⇒ Object
rubocop:enable Metrics/ParameterLists.
-
.v1(exercise:, number:, suppress_solution_if: false, note_suppressed_solutions: false, cases: false, solution_stays_put: false) ⇒ Object
rubocop:disable Metrics/ParameterLists :/.
Class Method Details
.bake_solution_v1(exercise:, number:, divider: '. ') ⇒ Object
rubocop:enable Metrics/ParameterLists
16 17 18 19 |
# File 'lib/kitchen/directions/bake_numbered_exercise/main.rb', line 16 def self.bake_solution_v1(exercise:, number:, divider: '. ') V1.new.bake_solution(exercise: exercise, number: number, divider: divider, solution_stays_put: false) end |
.v1(exercise:, number:, suppress_solution_if: false, note_suppressed_solutions: false, cases: false, solution_stays_put: false) ⇒ Object
rubocop:disable Metrics/ParameterLists :/
8 9 10 11 12 13 |
# File 'lib/kitchen/directions/bake_numbered_exercise/main.rb', line 8 def self.v1(exercise:, number:, suppress_solution_if: false, note_suppressed_solutions: false, cases: false, solution_stays_put: false) V1.new.bake(exercise: exercise, number: number, suppress_solution_if: suppress_solution_if, note_suppressed_solutions: note_suppressed_solutions, cases: cases, solution_stays_put: solution_stays_put) end |