模块:Mongoid::Extensions::Decimal 128

定义于:
lib/mongoid/extensions/decimal 128 .rb

Overview

向BSON::Decimal 128类添加类型转换行为。

在命名空间下定义

模块: 类方法

实例方法摘要折叠

实例方法详细信息

#__evolve_decimal128__BSON::Decimal128

对十进制128进行演进。

例子:

对十进制128进行演进。

decimal128.__evolve_decimal128__

返回:

  • ( BSON::Decimal 128 )

    self。



16
17
18
# File 'lib/mongoid/extensions/decimal 128 .rb', line 16

def __evolve_decimal 128 __
  self
end