Answer the question
In order to leave comments, you need to log in
How to hide the return data of the gets method in Ruby?
I can't find how to hide the return data from the gets method, here's an example:
puts "What are you name?"
a = gets.chomp
puts "My name " + a
=>What are you name?
=>User # как скрыть эти данные?
=>My name User
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question