Ruby if statements is always else

前端 未结 0 899
夕颜
夕颜 2020-11-28 03:59
puts "Commands: /startEngine, /upgrade"
command = gets
if command.include? "/"
    command.slice! "/"
    isStartEngine = command <=         


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