<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
I’m getting error “undefined method ‘include?’ for nil:NilClass” when creating first part of If statement. I have tried adding a print command to the line just above END but it still gives the same error.
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
undefined method `include?’ for nil:NilClass
print "Please enter your statement."
user_input = gets.chomp.downcase!
if user_input.include? "s"
<do not remove the three backticks above>