view config/initializers/ext_string.rb @ 251:43cbceac80ab

Remove model test and add client test
author nanaya <me@nanaya.net>
date Mon, 17 Jul 2023 20:54:04 +0900
parents 61414d0a367b
children
line wrap: on
line source

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