Sha256: 2732b9a830787974ca60e6509489a94fdbc048dccd99d88e5124385e206c8ee2
Contents?: true
Size: 298 Bytes
Versions: 2
Compression:
Stored size: 298 Bytes
Contents
require 'rubygems' require 'surpass' book = Workbook.new sheet = book.add_sheet("Borders") per_row = 18 Borders.line_type_directives.sort.each_with_index do |c, i| format = StyleFormat.new format.borders.all = c sheet.write(i*2+1, 1, c, format) end book.save(__FILE__.gsub(/rb$/, "xls"))
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
surpass-0.0.6 | webby/content/examples/borders.rb |
surpass-0.0.6 | webby/output/examples/borders.rb |