view config/initializers/ext_string.rb @ 231:01f3a7e073c3

Remove unsupported namespace syntax Leftover from redis-rails.
author nanaya <me@nanaya.net>
date Mon, 16 Jan 2023 16:23:29 +0900
parents 61414d0a367b
children
line wrap: on
line source

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