Module: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Infinity
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid/infinity.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#infinity(options = {}) ⇒ Object
6 7 8 |
# File 'lib/active_record/connection_adapters/postgresql/oid/infinity.rb', line 6 def infinity( = {}) [:negative] ? -::Float::INFINITY : ::Float::INFINITY end |