lib/task-manager.rb in task-manager-0.1.5 vs lib/task-manager.rb in task-manager-0.1.6

- old
+ new

@@ -32,6 +32,10 @@ tasks = Task.remindable tasks.each(&:remind) tasks end + + def self.finish_autocompletable_tasks + Task.autocompletable.just_expired.each(&:finish) + end end