Help understanding data returned from ODBC 'indexes' call?

This is really weird and I don’t understand what data structure is
coming back from the indexes(table) command. Any suggestions would be
welcome:

indexes_new = @connnew.indexes(table)
indexes_new.each do |ind|
puts ind[5]
end
=>nil
PK_onthetable #THIS IS THE NAME OF THE INDEX

indexes_new = @connnew.indexes(table)
indexes_new.each do |ind|
puts ind[5]
puts “hah”
end
=>nil
hah
PK_onthetable
hah

indexes_new.each do |ind|
puts ind[5][1]
end
=>foo_index.rb:166: undefined method []' for nil:NilClass (NoMethodError) from foo_index.rb:165:ineach’
from foo_index.rb:165