i have loop through array , i'm not sure row i'm going start @ since varies:
def add_data @sheet = @workbook.create_worksheet responses.each |response| # want @sheet.rows << [response.id] end end i'm looking through docs examples given use specified row index: http://spreadsheet.rubyforge.org/guide_txt.html
how push array of values next row in file?
just dug classes , came solution... documentation kinda whomps:
@sheet.insert_row(@sheet.last_row_index + 1, ["hey", "cool"])
Comments
Post a Comment