Flowdock
method

detail_args_for_any

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionView::LookupContext::ViewPaths
detail_args_for_any() protected

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 186
      def detail_args_for_any # :nodoc:
        @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.