Skip to content

Instantly share code, notes, and snippets.

View MichaelSwartz's full-sized avatar

Mike Swartz MichaelSwartz

  • VETRO FiberMap
  • Portland, ME
View GitHub Profile
@MichaelSwartz
MichaelSwartz / deaf_grandma
Created December 30, 2014 15:27
Deaf Grandma
puts "Say hello to your grandmother."
bye_counter = 0
while bye_counter < 3
input = gets.chomp
if ((input != input.upcase) && (input != "BYE"))
puts "HUH?! SPEAK UP, SONNY!"
bye_counter = 0
elsif input == "BYE"
puts "WHAT?!"

Keybase proof

I hereby claim:

  • I am michaelswartz on github.
  • I am mjswartz (https://keybase.io/mjswartz) on keybase.
  • I have a public key ASDCytC-uE1Zl88d188zDT_jeM9JtbyVMTUjpj7Io2hjmwo

To claim this, I am signing this object: