clean_text(text)
Remove any non-printable characters and make the text suitable for printing.
# File lib/rubygems/text.rb, line 12 def clean_text(text) text.gsub(/[\0000-\b\v-\f\0016-\0037\1177]/, ".".freeze) end