class PgSearch::Features::DMetaphone::Normalizer
Decorates a normalizer with dmetaphone processing.
def add_normalization(original_sql)
def add_normalization(original_sql) otherwise_normalized_sql = @decorated_normalizer.add_normalization(original_sql) "pg_search_dmetaphone(#{otherwise_normalized_sql})" end
def initialize(normalizer_to_wrap)
def initialize(normalizer_to_wrap) @decorated_normalizer = normalizer_to_wrap end