Skip to content

Instantly share code, notes, and snippets.

@benmanns
Created June 10, 2010 17:43
Show Gist options
  • Save benmanns/433344 to your computer and use it in GitHub Desktop.
Save benmanns/433344 to your computer and use it in GitHub Desktop.
puts 'Hello, what\' s your name?'
name = gets.chomp
puts 'Hello, ' + name + ' .'
if name == 'Chris' or name == 'Katy'
puts ' What a lovely name!'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment