method
build_idx_hash
rails latest stable - Class:
ActionView::TemplateDetails::Requested
build_idx_hash(arr)private
No documentation available.
# File actionview/lib/action_view/template_details.rb, line 28
def build_idx_hash(arr)
[*arr, nil].each_with_index.to_h.freeze
end