I am trying to learn ruby and had a question (multiple in fact, however,
i’ll ask this one)
Im making a tiny script that asks for the names of a person’s children,
then replies by saying hi to each child.
what’s the names of these precious babies?
user types: John, Greg, Sam
replies: Hi John, Hi Greg, Hi Sam.
so far I was working with a single person, but I understood that part:
result = "Hey, " + name
puts “hey what’s your name?”
name = gets
any help would be great ;] hope it’s as easy as it sounds!