class Punchout::Matcher::Equal
Matches when the candidate matches the subject of this matcher, or any ancestor of that subject.
Public Instance Methods
matches?(candidate)
click to toggle source
# File lib/punchout/matcher/equal.rb, line 11 def matches?(candidate) @subject == candidate end