Skip to content

Instantly share code, notes, and snippets.

@hchood
Created November 22, 2013 22:24
Show Gist options
  • Save hchood/7607905 to your computer and use it in GitHub Desktop.
Save hchood/7607905 to your computer and use it in GitHub Desktop.
Alpha checkpoint: Echo (Phase 1)
# Alpha: Echo checkpoint (Phase 1)
def playback(input)
"You said: #{input}"
end
puts "What do you want to say?"
input = gets.chomp
puts playback(input)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment