summaryrefslogtreecommitdiff
path: root/lib/weekly_goals.rb
blob: 1a263bc9d410c27c7a6585dcf8e4e47038ef076d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'time'

class WeeklyGoals
  def initialize
    @goals = [
      "Remove docker: Finish the load test report comparing the new and the old archicteture",
      "Modularize stylesheet: ",
      "Fix bug: Error running functionals on vagrant",
      "Fix bug: Fix Feedback Form",
      "Fix bug: Minify JS"]
  end

  def rotating_goal
    min = Time.new.min
    idx = min % @goals.length
    @goals[idx]
  end

  def all_goals
    @goals
  end
end