class IdentityParade::Matcher
The base class for all matchers implements the basic interface for all matchers.
Every matcher MUST implement a score method that returns a Number.
Attributes
left[R]
right[R]
Public Class Methods
new(left, right)
click to toggle source
# File lib/identity_parade/matcher.rb, line 9 def initialize(left, right) @left = left @right = right end
Public Instance Methods
score()
click to toggle source
# File lib/identity_parade/matcher.rb, line 14 def score raise NotImplementedError end