I have no idea what I've done wrong, help?


#1



please help I'm messing up on the code for Thith meanth war.


it returns with the error:

can't convert Regexp into String

print "what do you want to say"
user_input=gets.chomp
user_input.downcase!
if user_input.include? /s/
    user_input.gsub!(/s/,'th')
else
    puts "#{user_input}"
end

#2

HI you if statement

if user_input.include? /s/

you should change the /s/ with "s"