# File lib/csv.rb, line 426def index(header,minimum_index=0)# find the pairindex=headers[minimum_index..-1].index(header)# return the index at the right offset, if we found oneindex.nil??nil:index+minimum_indexend