Duplicate console output
Answered
print "Input ID: "
id = gets.chomp
if id == "test"
puts "Welcome"
else
puts "Wrong ID"
end
Output:
Input ID:test
Input ID: Welcome
1) There is no space after colon
2) 'Input ID' is displayed twice
How can I fix this?
Please sign in to leave a comment.
Could you please specify your RubyMine version and OS? Do you have the same problem in RubyMine 2019.1.2 RC?
I'm using RubyMine 2019.1.1 and Windows 10. This issue occurs also in 2019.1.2
Thank you, I've submitted a corresponding issue so please add your vote:
https://youtrack.jetbrains.com/issue/RUBY-24208