method

detail_args_for_any

Importance_0
v5.1.7 - 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 180
      def detail_args_for_any
        @detail_args_for_any ||= begin
          details = {}

          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.get(details)]
          else
            [details, nil]
          end
        end
      end
Register or log in to add new notes.