Class: Sentino::Distance

Inherits:
Object
  • Object
show all
Defined in:
lib/sentino/distance.rb

Instance Method Summary collapse

Constructor Details

#initialize(reference) ⇒ Distance

Returns a new instance of Distance.



4
5
6
# File 'lib/sentino/distance.rb', line 4

def initialize(reference)
  @reference = reference
end

Instance Method Details

#match(string) ⇒ Object



8
9
10
# File 'lib/sentino/distance.rb', line 8

def match(string)
  check(string)
end