Skip to content

Instantly share code, notes, and snippets.

@nicollehahn
Created June 21, 2015 14:56
Show Gist options
  • Save nicollehahn/ad2b1a4bad5ea6335efc to your computer and use it in GitHub Desktop.
Save nicollehahn/ad2b1a4bad5ea6335efc to your computer and use it in GitHub Desktop.

Revisions

  1. nicollehahn created this gist Jun 21, 2015.
    9 changes: 9 additions & 0 deletions greeting_full_name
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    puts "Hello, there. I would like to find out who you are. What is your first name? "
    first = gets.chomp
    puts "May I ask also what is your middle name? "
    middle = gets.chomp
    puts "I am totally going out there, finish it up, please.... What is your last name?"
    last = gets.chomp
    puts 'Pleased to meet you, ' + first + ' ' + middle + ' ' + last + '.'
    puts ''
    print 'I am a cool chickster named Ruby. Are you ready to go on a wild ride with me? You\'re life will never be the same.'