method
get
get(klass, operator)
public
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