Redacted 2/6


When I save and submit, it just spins and doesn't give me an error. It will give me an "Oops" error if I put "end" at the end, but will not give me an error when I take it away. It will spin for hours without giving me an error or a success.

puts "Text to search through:"
text = gets.chomp
puts "Word to redact:"
redact = gets.chomp


What you have looks fine, so far. There is no block so there should be no end.


      # code block

      #code block


Oh, got it. Thank you so much!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.