class BSON::Decimal128

def hash

Other tags:
    Since: - 4.2.0

Returns:
  • (Integer) - The hash value.

Other tags:
    Example: Get the hash value. -
def hash
  num = @high << 64
  num |= @low
  num.hash
end