Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def greeter(first, last)
- name = first + last
- if %w{ ShereefBishay TonyPhillips AnneSpalding }.include? name
- "I love Dev Bootcamp!"
- elsif %w{ JesseFarmer RobertFletcher }.include? name
- "Will you look at the C source code for this with me?"
- else
- "Well hello there."
- end
- end
Add Comment
Please, Sign In to add comment