lib/mongoid/criteria/queryable/selector.rb
# Evolve a single key selection with array values.
#
# @api private
#
# @example Evolve a simple selection.
#   selector.evolve(field, [ 1, 2, 3 ])
#
# @param [ Object ] serializer The optional serializer for the field.
# @param [ Array<Object> ] value The array to serialize.
#
# @return [ Object ] The serialized array.
#
# @since 1.0.0
Evolve a single key selection with array values.
Evolve a single key selection with array values .
def evolve_array(serializer, value)
          value.map do |_value|
            evolve(serializer, _value)
          end
        end
def evolve_array ( serializer , value ) value . map do | _value | evolve ( serializer , _value ) end end
Evolve a single key selection with array values.
Evolve a single key selection with array values .
The serialized array.
The serialized array .
 Object 
serializer
<not_specific>
value
<not_specific>
<not_specific>
value The array to serialize.
value The array to serialize .
api
None
example
Evolve a simple selection.
Evolve a simple selection .
since
None