Sha256: a7f19566d8d699074f3db611bb352eb3f03c45b675ef73065ec88c702741813b
Contents?: true
Size: 261 Bytes
Versions: 3
Compression:
Stored size: 261 Bytes
Contents
# source: https://github.com/karmi/retire/blob/master/lib/tire/utils.rb require 'uri' module Mongoid module Elasticsearch module Utils def clean(s) s.to_s.gsub(/\W+/, ' ').gsub(/ +/, '').strip end extend self end end end
Version data entries
3 entries across 3 versions & 1 rubygems