class String def scramble (split //).sort_by { rand }.join end end puts "I once was a normal string.".scramble