Skip to content

Instantly share code, notes, and snippets.

@misstuggy
misstuggy / Daffifier.rb
Created April 19, 2013 03:17
Challenge problem for Code Academy - my solution.
print "Your phrase here please: "
user_input = gets.strip
while user_input == ""
print "That wasn't a phrase! Try again."
user_input = gets.strip
end
user_input.gsub!(/s/, "th")