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