# File lib/rspec/matchers/operator_matcher.rb, line 9 def register(klass, operator, matcher) registry[klass] ||= {} registry[klass][operator] = matcher end