Method: String#dm_soundex

Defined in:
lib/phonetic/core_ext/string/dm_soundex.rb

#dm_soundex(options = {}) ⇒ Object

D-M Soundex values of string.

Examples:

'Anja'.dm_soundex # => ['060000', '064000']
'Schwarz'.dm_soundex # => ['474000', '479400']
'Schtolteheim'.dm_soundex # => ['283560']


9
10
11
# File 'lib/phonetic/core_ext/string/dm_soundex.rb', line 9

def dm_soundex(options = {})
  Phonetic::DMSoundex.encode(self, options)
end