Sha256: 6141bc4d43ed85fdd8ea36600ba9e500d3947f5237ef964c50dded0d49a9520b
Contents?: true
Size: 525 Bytes
Versions: 5
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true module Thredded module RenderHelper # @param collection [Array<T>] # @param partial [String] # @param expires_in [ActiveSupport::Duration] # @return Array<[T, String]> def render_collection_to_strings_with_cache(collection:, partial:, expires_in:, **opts) CollectionToStringsWithCacheRenderer.new(lookup_context).render_collection_to_strings_with_cache( self, collection: collection, partial: partial, expires_in: expires_in, **opts ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems