# File lib/sup/util.rb, line 403 def map_with_index ret = [] each_with_index { |x, i| ret << yield(x, i) } ret end