# File lib/mongoid/criterion/complex.rb, line 21 def initialize(opts = {}) @key, @operator = opts[:key], opts[:operator] end