add AttrEnumerable.each_attr_with_index