method

map_avoiding_infinite_recursion

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: TimeZoneConverter
map_avoiding_infinite_recursion(value) 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/attribute_methods/time_zone_conversion.rb, line 52
          def map_avoiding_infinite_recursion(value)
            map(value) do |v|
              if value.equal?(v)
                nil
              else
                yield(v)
              end
            end
          end
Register or log in to add new notes.