method

map

Importance_0
v5.0.0.1 - Show latest stable - 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.