class Xeroizer::Report::HeaderRow

Public Instance Methods

column_index(column_name) click to toggle source
# File lib/xeroizer/report/row/header.rb, line 5
def column_index(column_name)
  @_column_index_cache ||= {}
  @_column_index_cache[column_name] ||= cells.find_index { | cell | cell.value == column_name.to_s }
end