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::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::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.