R
Rob Gu
Greetings, total noob question I'm sure. I'm trying to run a simple
example in a console, but how do I tell it to stop so I can view the
output? In C# I think I could just return false or something, but what
do you do in Ruby?
puts "Hello, world. What is your name?"
myname = gets()
puts "Well, hello there " + myname + "."
[so here it just closes out, but I want to see the greeting ]
Thank you!
example in a console, but how do I tell it to stop so I can view the
output? In C# I think I could just return false or something, but what
do you do in Ruby?
puts "Hello, world. What is your name?"
myname = gets()
puts "Well, hello there " + myname + "."
[so here it just closes out, but I want to see the greeting ]
Thank you!