method

new

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: TypeMap
new() 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/type/type_map.rb, line 6
      def initialize
        @mapping = {}
        @cache = ThreadSafe::Cache.new do |h, key|
          h.fetch_or_store(key, ThreadSafe::Cache.new)
        end
      end
Register or log in to add new notes.