Class: BK::LevenshteinDistancer
- Inherits:
-
Object
- Object
- BK::LevenshteinDistancer
- Defined in:
- lib/bk.rb
Overview
Instance Method Summary collapse
Instance Method Details
#call(a, b) ⇒ Object
10 11 12 |
# File 'lib/bk.rb', line 10 def call(a, b) Text::Levenshtein.distance(a, b) end |