get(klass, operator) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/operator_matcher.rb, line 15
        def get(klass, operator)
          matcher = registry[klass] && registry[klass][operator]
          unless matcher
            parent_class = registry.keys.detect {|pc| klass <= pc }
            matcher = registry[parent_class] && registry[parent_class][operator]
          end
          matcher
        end
Register or log in to add new notes.