view config/initializers/ext_string.rb @ 205:8190fa511e35

Fix some code style
author nanaya <me@nanaya.pro>
date Mon, 19 Oct 2020 04:09:12 +0900
parents 61414d0a367b
children e2150dce4e90
line wrap: on
line source

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