123456789_123456789_123456789_123456789_123456789_

Class: Array

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Object
Defined in: (unknown)

Overview

Ruby Core class mixins

Class Attribute Summary

::Mongoid::Extensions::Array::ClassMethods - Extended

resizable?

Returns whether the object’s size can be changed.

Class Method Summary

::Mongoid::Criteria::Queryable::Extensions::Array::ClassMethods - Extended

evolve

Evolve the object when the serializer is defined as an array.

::Mongoid::Extensions::Array::ClassMethods - Extended

__mongoize_fk__

Convert the provided object to a proper array of foreign keys.

mongoize

Turn the object from the ruby type we deal with to a Mongo friendly type.

Instance Attribute Summary

::Mongoid::Extensions::Array - Included

#multi_arged?

Is the array a set of multiple arguments in a method?

#resizable?

Returns whether the object’s size can be changed.

Instance Method Summary

::Mongoid::Criteria::Queryable::Extensions::Array - Included

#__add__

Combine the two objects using the add strategy.

#__array__

Return the object as an array.

#__deep_copy__

Makes a deep copy of the array, deep copying every element inside the array.

#__evolve_date__

Evolve the array into an array of mongo friendly dates.

#__evolve_time__

Evolve the array to an array of times.

#__expand_complex__

Get the object as expanded.

#__intersect__

Combine the two objects using an intersection strategy.

#__sort_option__

Gets the array as options in the proper format to pass as MongoDB sort criteria.

#__sort_pair__

Get the array as a sort pair.

#multi

Converts the array to a multi-dimensional array.

::Mongoid::Extensions::Array - Included

#__evolve_object_id__

Evolve the array into an array of object ids.

#__find_args__

Get the array of args as arguments for a find query.

#__mongoize_object_id__

Mongoize the array into an array of object ids.

#__mongoize_time__

Converts the array for storing as a time.

#delete_one

Delete the first object in the array that is equal to the supplied object and return it.

#mongoize

Turn the object from the ruby type we deal with to a Mongo friendly type.