Sha256: 93ead54288e0f13fe75e06a8c5ff00b3a3e06226bc7c1bec739f17349ca94974
Contents?: true
Size: 372 Bytes
Versions: 62
Compression:
Stored size: 372 Bytes
Contents
wb = xlsx_package.workbook render :partial => 'cover_sheet', :locals => {:wb => wb} style_shout = wb.styles.add_style sz: 16, b: true, alignment: { horizontal: :center } wb.add_worksheet(name: "Foobar") do |sheet| sheet.add_row ['Bad', 'spellers', 'of', 'the', 'world', '...'] sheet.add_row ['Untie!'] sheet.merge_cells("A2:E2") sheet["A2"].style = style_shout end
Version data entries
62 entries across 17 versions & 3 rubygems