Module: English::DoubleMetaphone

Defined in:
lib/gems/english-0.3.1/lib/english/double_metaphone.rb

Class Method Summary collapse

Class Method Details

.[](str) ⇒ Object

Returns the primary and secondary double metaphone tokens (the secondary will be nil if equal to the primary).



11
12
13
# File 'lib/gems/english-0.3.1/lib/english/double_metaphone.rb', line 11

def self.[](str)
  return memo[str]
end