# File lib/data_table.rb, line 99 def num_headers if text_format text_format.elements['numHeaderLines'].text.to_i else raise "data table is not in textFormat" end end