模块:Mongo::Operation::PolymorphicResult Private

包括:
多态查找
包含在:
Aggregate::OpMsg 、 Delete::OpMsg 、 Explain::OpMsg 、 Find::OpMsg 、 GetMore::OpMsg 、 Indexes::OpMsg 、 Insert::OpMsg 、 ListCollections::OpMsg 、 MapReduce::OpMsg 、 Mongo::Operation: :ParallelScan::OpMsg 、 Update::OpMsg 、 UsersInfo::OpMsg
定义于:
lib/ Mongo/operation/shared/polymorphic_result.rb

Overview

该模块是私有 API 的一部分。 您应尽可能避免使用此模块,因为它将来可能会被删除或更改。

实例化与操作类匹配的结果类的共享行为。

此模块必须包含在可执行文件模块之后,因为在这两个模块中都定义了 result_class。

在命名空间下定义

模块: 类方法

类方法摘要折叠

类方法详细信息

。 included (base) ⇒对象

此方法是私有 API 的一部分。 您应尽可能避免使用此方法,因为它将来可能会被删除或更改。



29
30
31
# File 'lib/ Mongo/operation/shared/polymorphic_result.rb', line 29

def self.包含(基础)
  基础.扩展 类方法
end