# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module CipherStashPG module OID # :nodoc: class Decimal < Type::Decimal # :nodoc: def infinity(options = {}) BigDecimal("Infinity") * (options[:negative] ? -1 : 1) end end end end end end