Class: ActiveRecord::ConnectionAdapters::Redshift::OID::Decimal
- Inherits:
-
Type::Decimal
- Object
- Type::Decimal
- ActiveRecord::ConnectionAdapters::Redshift::OID::Decimal
- Defined in:
- lib/active_record/connection_adapters/redshift/oid/decimal.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#infinity(**options) ⇒ Object
6 7 8 |
# File 'lib/active_record/connection_adapters/redshift/oid/decimal.rb', line 6 def infinity(**) BigDecimal.new("Infinity") * ([:negative] ? -1 : 1) end |