Module: Kitchen::Directions::BakeNumberedNotes
- Defined in:
- lib/kitchen/directions/bake_notes/bake_numbered_notes/v1.rb,
lib/kitchen/directions/bake_notes/bake_numbered_notes/v2.rb,
lib/kitchen/directions/bake_notes/bake_numbered_notes/v3.rb,
lib/kitchen/directions/bake_notes/bake_numbered_notes/main.rb
Defined Under Namespace
Class Method Summary collapse
- .v1(book:, classes:, cases: false) ⇒ Object
- .v2(book:, classes:) ⇒ Object
-
.v3(book:, classes:, suppress_solution: true) ⇒ Object
V3 bakes notes tied to an example immediately previous (“Try It” notes) Must be called AFTER BakeExercises.
Class Method Details
.v1(book:, classes:, cases: false) ⇒ Object
6 7 8 |
# File 'lib/kitchen/directions/bake_notes/bake_numbered_notes/main.rb', line 6 def self.v1(book:, classes:, cases: false) V1.new.bake(book: book, classes: classes, cases: cases) end |
.v2(book:, classes:) ⇒ Object
10 11 12 |
# File 'lib/kitchen/directions/bake_notes/bake_numbered_notes/main.rb', line 10 def self.v2(book:, classes:) V2.new.bake(book: book, classes: classes) end |
.v3(book:, classes:, suppress_solution: true) ⇒ Object
V3 bakes notes tied to an example immediately previous (“Try It” notes) Must be called AFTER BakeExercises
17 18 19 |
# File 'lib/kitchen/directions/bake_notes/bake_numbered_notes/main.rb', line 17 def self.v3(book:, classes:, suppress_solution: true) V3.new.bake(book: book, classes: classes, suppress_solution: suppress_solution) end |