2/6 Redacted


#1

Can someone help? I followed the previous example as well and still I got it wrong

puts "text "
text = gets.chomp

puts "redact "
redact = gets.chomp

end

Thank you


#2

puts "text "
text = gets.chomp

puts "redact "
redact = gets.chomp

end

puts "Text to search through: " <-------- ( "What's your name?" )
text = gets.chomp
puts "Word to redact: " <------ Replace with some text ( "Some Text:" )
redact = gets.chomp
This worked for me!


#3

This didnt work for me!


#4

take away the end, that worked for me.