Module: Mongo::Operation::Idable Private
- Included in:
- Mongo::Operation::Insert::OpMsg
- Defined in:
- lib/mongo/operation/shared/idable.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared behavior of operations that require its documents to each have an id.
Instance Method Summary collapse
- #documents ⇒ Object private
Instance Method Details
#documents ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'lib/mongo/operation/shared/idable.rb', line 27 def documents @documents ||= ensure_ids(super) end |