method

detail_args_for_any

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionView::LookupContext::ViewPaths
detail_args_for_any() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/lookup_context.rb, line 188
      def detail_args_for_any
        @detail_args_for_any ||= begin
          details = {}

          LookupContext.registered_details.each do |k|
            if k == :variants
              details[k] = :any
            else
              details[k] = Accessors::DEFAULT_PROCS[k].call
            end
          end

          if @cache
            [details, DetailsKey.details_cache_key(details)]
          else
            [details, nil]
          end
        end
      end
Register or log in to add new notes.