Answers for "user input number in ruby"

1

get input from user in ruby

def input(text)
    $stdout.print text.to_s
    return gets
end

input("Whats your name ? ")
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language