method

infinity

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Infinity

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

infinity(options = {})
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/oid/infinity.rb, line 6
          def infinity(options = {})
            options[:negative] ? -::Float::INFINITY : ::Float::INFINITY
          end