Sha256: 853932c429f840c242637fd6f6819c326da6a57d9e545ab097254c70046cc566

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

require "rubygems"
require "surpass"

font0 = Font.new
font0.name = 'Times New Roman'

style0 = StyleFormat.new
style0.font = font0


book = Workbook.new
s = book.add_sheet

s.write_array_to_column(methods.sort, 0, 0, style0)

s.write(5, 5, methods.sort)

s.write(7, 3, %w{a b c d e})

s.write(9, 3, [%w{x y z}, [1, 2, 3]])

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
surpass-0.0.6 examples/write_arrays.rb