comparison config/initializers/ext_string.rb @ 125:61414d0a367b

Less breakage
author nanaya <me@nanaya.pro>
date Wed, 23 Aug 2017 16:35:58 +0900
parents
children
comparison
equal deleted inserted replaced
124:533317c0b33d 125:61414d0a367b
1 class String
2 def printable
3 gsub(/[^\n[:print:]]/, '')
4 end
5 end