Sha256: 825a7a61e29ce3925ffad201d0f5e5f6c3aedbba1e4852cc5dc5a7408566f533

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

require "rubygems"
require "surpass"

book = Workbook.new
ws = book.add_sheet

(6..80).each do |i|
  fnt = Font.new
  fnt.height = i*20
  style = StyleFormat.new
  style.font = fnt
  ws.row(i).style = style
end

book.save(__FILE__.gsub(/rb$/, "xls"))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
surpass-0.0.6 examples/row_styles_empty.rb
surpass-0.0.3 examples/row_styles_empty.rb