diff options
author | varac <varacanero@zeromail.org> | 2016-07-13 20:07:09 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-10-16 13:20:14 +0200 |
commit | 11d443664b7a785b42cbbd5b96347bafa5ad273a (patch) | |
tree | 9a27d4c1fe58e3375ae1868cf7a29da1af106265 /lib/weekly_goals.rb | |
parent | fa7cf47e28a4ac1636e947c269ed83abe49a1491 (diff) |
initial commit, import from pixelated_dashboard
Diffstat (limited to 'lib/weekly_goals.rb')
-rw-r--r-- | lib/weekly_goals.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/weekly_goals.rb b/lib/weekly_goals.rb new file mode 100644 index 0000000..1a263bc --- /dev/null +++ b/lib/weekly_goals.rb @@ -0,0 +1,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 |