method

infinity

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Range
infinity(negative: false) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/range.rb, line 107
            def infinity(negative: false)
              if subtype.respond_to?(:infinity)
                subtype.infinity(negative: negative)
              elsif negative
                -::Float::INFINITY
              else
                ::Float::INFINITY
              end
            end
Register or log in to add new notes.