method

fetch

rails latest stable - Class: ActiveRecord::Type::HashLookupTypeMap
fetch(lookup_key, *args, &block)
public

No documentation available.

# File activerecord/lib/active_record/type/hash_lookup_type_map.rb, line 17
      def fetch(lookup_key, *args, &block)
        @cache[lookup_key].fetch_or_store(args) do
          perform_fetch(lookup_key, *args, &block)
        end
      end