123456789_123456789_123456789_123456789_123456789_

Module: Mongoid::Extensions::Decimal128

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/mongoid/extensions/decimal128.rb

Overview

Adds type-casting behavior to ::BSON::Decimal128 class.

Instance Method Summary

Instance Method Details

#__evolve_decimal128__BSON::Decimal128

Evolve the decimal128.

Examples:

Evolve the decimal128.

decimal128.__evolve_decimal128__

Returns:

[ GitHub ]

  
# File 'lib/mongoid/extensions/decimal128.rb', line 16

def __evolve_decimal128__
  self
end