Sha256: 94ed539383e5e76420cc2cc39eeb4a4f52d0f264c2220a21f34b416af398eba4
Contents?: true
Size: 308 Bytes
Versions: 4
Compression:
Stored size: 308 Bytes
Contents
require 'phonetic/soundex' class String # Soundex value of string # @example # 'Ackerman'.soundex # => 'A265' # 'ammonium'.soundex # => 'A500' # 'implementation'.soundex # => 'I514' def soundex(options = { trim: true }) Phonetic::Soundex.encode(self, options) end end
Version data entries
4 entries across 4 versions & 1 rubygems