Created
July 28, 2016 16:44
-
-
Save jessmartin/4b7fa00a1f4e692677e0f7c36a499e95 to your computer and use it in GitHub Desktop.
Standup note generator in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
today = Time.now.to_s[0,10] | |
attendees = [] | |
puts "Who is attending?" | |
begin | |
name = gets.strip | |
attendees << name if name != "" | |
end while name != "" | |
attendees.compact! | |
puts <<EOS | |
# Development Standup Notes - #{today} | |
Attendees: #{attendees.join(", ")} | |
EOS | |
attendees.each do |attendee| | |
puts <<-EOS | |
## #{attendee} | |
**Yesterday** | |
- | |
**Today** | |
- | |
**Blockers** | |
- | |
EOS | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment