lib/picky/generators/similarity/soundex.rb in picky-3.5.4 vs lib/picky/generators/similarity/soundex.rb in picky-3.6.0
- old
+ new
@@ -17,11 +17,10 @@
# Encodes the given string/symbol.
#
# Returns a symbol.
#
def encoded str_or_sym
- code = Text::Soundex.soundex str_or_sym.to_s
- code.intern if code
+ str_or_sym.soundex
end
end
end
\ No newline at end of file