Flowdock
method

map

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Range
map(value) public

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 50
          def map(value) # :nodoc:
            new_begin = yield(value.begin)
            new_end = yield(value.end)
            ::Range.new(new_begin, new_end, value.exclude_end?)
          end
Register or log in to add new notes.