Correctly set index on enumerable attributes

When indexing a list of values, the index is not created correctly. The set returned by Index#value_from should be created with the enumerable elements and not with the enumerable object.
Line is too long. [95/80]