lib/tabledata/column.rb
def to_a(options=nil)
      data = @table.data.transpose[@index]

      if options
        start_offset = options[:include_header] && @table.headers? ? 1 : 0
        end_offset   = options[:include_footer] && @table.footer? ? -2 : -1

        data[start_offset..end_offset]
      else
        data
      end
    end
def to_a(options=nil)
      data = @table.data.transpose[@index]

      if options
        start_offset = options[:include_header] && @table.headers? ? 1 : 0
        end_offset   = options[:include_footer] && @table.footer? ? -2 : -1

        data[start_offset..end_offset]
      else
        data
      end
    end
@param [Hash] options
 @option options [Symbol] :include_header
   Defaults to true. If set to false, the header (if present) is excluded.
 @option options [Symbol] :include_footer
   Defaults to true. If set to false, the footer (if present) is excluded.

 @return [Array] All values in the column, including header and footer.