Skip to content

Instantly share code, notes, and snippets.

@jessmartin
Created July 28, 2016 16:44
Show Gist options
  • Save jessmartin/4b7fa00a1f4e692677e0f7c36a499e95 to your computer and use it in GitHub Desktop.
Save jessmartin/4b7fa00a1f4e692677e0f7c36a499e95 to your computer and use it in GitHub Desktop.
Standup note generator in Ruby
#!/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