covfefe is funfefe Jun 2, 2017 Your are given a string. You must replace the word(s) coverage by covfefe, however, if you don't find the word coverage in the string, you must add it at the end of the string with a leading space. def covfefe(tweet) standardized_tweet = tweet.downcase.gsub(/\W/, " ") if !standardized_tweet.include?("coverage") tweet + " covfefe" else standardized_tweet.split(" ").map {|word| word == "coverage" ? "covfefe" : word}.join(" ") end end Twitter needs to implement this script into their platform ¯\_(ツ)_/¯