view config/initializers/ext_string.rb @ 221:545ce38ef3d6

Remove copied off client_options (to Clients)
author nanaya <me@nanaya.pro>
date Thu, 27 May 2021 02:31:59 +0900
parents 61414d0a367b
children e2150dce4e90
line wrap: on
line source

class String
  def printable
    gsub(/[^\n[:print:]]/, '')
  end
end