def sayhello(name)
puts
puts "This is the world of #{name}."
end
print "Here you may insert your name: "
sayhello(gets.chomp)
Create your own website, free on WordPress.com.Create your own website.
Start free