Module: Kitchen::Directions::BakeAutotitledExercise

Defined in:
lib/kitchen/directions/bake_autotitled_exercise/v1.rb,
lib/kitchen/directions/bake_autotitled_exercise/v2.rb,
lib/kitchen/directions/bake_autotitled_exercise/v3.rb,
lib/kitchen/directions/bake_autotitled_exercise/main.rb

Defined Under Namespace

Classes: V1, V2, V3

Class Method Summary collapse

Class Method Details

.v1(exercise:, number: nil) ⇒ Object



6
7
8
# File 'lib/kitchen/directions/bake_autotitled_exercise/main.rb', line 6

def self.v1(exercise:, number: nil)
  V1.new.bake(exercise: exercise, number: number)
end

.v2(exercise:, title:) ⇒ Object



10
11
12
# File 'lib/kitchen/directions/bake_autotitled_exercise/main.rb', line 10

def self.v2(exercise:, title:)
  V2.new.bake(exercise: exercise, title: title)
end

.v3(exercise:, title:) ⇒ Object



14
15
16
# File 'lib/kitchen/directions/bake_autotitled_exercise/main.rb', line 14

def self.v3(exercise:, title:)
  V3.new.bake(exercise: exercise, title: title)
end