Method: String#printable
- Defined in:
- lib/pentex/core.rb
#printable(non_print_char = ".") ⇒ Object
216 217 218 |
# File 'lib/pentex/core.rb', line 216 def printable( non_print_char = "." ) x = self.gsub(/[^[:print:]]/, non_print_char ) end |