class ActionView::TemplateDetails::Requested

def build_idx_hash(arr)

def build_idx_hash(arr)
  [*arr, nil].each_with_index.to_h.freeze
end