I am trying to make an input case insensitive, can someone explain how to do that?

前端 未结 0 902
迷失自我
迷失自我 2021-01-07 09:32

I\'m making a simple CLI in Ruby and I\'m having the user to input a "Y" or "N" but right now the program is only working if they type this in upper case

相关标签:
回答
  • 消灭零回复
提交回复
热议问题