class IdentityParade::Matchers::BooleanMatcher

This matcher checks the similarity of booleans

Public Instance Methods

score() click to toggle source
# File lib/identity_parade/matchers/boolean_matcher.rb, line 5
def score
  @left.class == @right.class ? 1 : 0
end