method

build_idx_hash

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Requested
build_idx_hash(arr) 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/template_details.rb, line 28
        def build_idx_hash(arr)
          [*arr, nil].each_with_index.to_h.freeze
        end
Register or log in to add new notes.