class ObjectSimilarity::ExactFieldScorer
Public Instance Methods
distance(other_object)
click to toggle source
# File lib/object_similarity.rb, line 40 def distance(other_object) (value == get_value(other_object)) ? 0 : 1 end