Skip to content

Instantly share code, notes, and snippets.

@jinwen95
Forked from nextacademy-private/deaf_aunty.rb
Last active September 29, 2015 10:27
Show Gist options
  • Select an option

  • Save jinwen95/3b43c10e104d82dca0fb to your computer and use it in GitHub Desktop.

Select an option

Save jinwen95/3b43c10e104d82dca0fb to your computer and use it in GitHub Desktop.
deaf_aunty
while true
input = gets.chomp
if input == "I love ya, aunty, but I've got to go."
exit
elsif input != input.upcase
puts "HUH?! SPEACK UP, SANDRA!"
else input "NO, WE CAN'T DO THAT"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment