diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..6ebad14 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.2 \ No newline at end of file diff --git a/lib/lesson.rb b/lib/lesson.rb index 28a82cf..811a055 100644 --- a/lib/lesson.rb +++ b/lib/lesson.rb @@ -54,7 +54,7 @@ class Lesson duration, comment = current_lesson_step respond "#{duration} minutes to #{comment}" - self.current_lesson_step_job_id = scheduler.in "#{duration}s" do + self.current_lesson_step_job_id = scheduler.in "#{duration}m" do if current_lesson_step_index == lesson_plan.length - 1 end_lesson else