Hi, I am doing the Ruby course again just as a refresher and I’m have some issues to move on on this exercise : Ruby Control flow
I’m getting this message, that my code doesn’t look quite right.
And I ran my code in an online compiler, it worked perfectly fine.
Here is the code :
print "Type something: " user_input = gets.chomp user_input.downcase! if user_input.include? "s" print "It has an s !" end
I believe if I replace my code with the solution I’ll be able to move on but why should I if my code is correct ?
So there might be a bug somewhere maybe.