Sha256: c18473ea84db5a533e087a5e920ecdbf4dadf31dc6aa8bbe5c1b590a16628992

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

require 'phonetic/dm_soundex'

class String
  # D-M Soundex values of string.
  # @example
  #    'Anja'.dm_soundex # => ['060000', '064000']
  #    'Schwarz'.dm_soundex # => ['474000', '479400']
  #    'Schtolteheim'.dm_soundex # => ['283560']
  def dm_soundex(options = {})
    Phonetic::DMSoundex.encode(self, options)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phonetic-1.2.0 lib/phonetic/core_ext/string/dm_soundex.rb
phonetic-1.1.0 lib/phonetic/core_ext/string/dm_soundex.rb