Sha256: 7a8ff8a68400d16f0d4dfe60efbc23667e5d2888eed786e4092569f3f1ad1b29
Contents?: true
Size: 430 Bytes
Versions: 3
Compression:
Stored size: 430 Bytes
Contents
require 'rubygems' require 'rubyXL' @workbook = RubyXL::Workbook.new @worksheet = RubyXL::Worksheet.new(@workbook) @workbook.worksheets[0] = @worksheet (0..10).each do |i| (0..10).each do |j| @worksheet.add_cell(i, j, "#{i}:#{j}") end end @worksheet.change_column_font_color(0,'ff0000') @worksheet.change_column_font_size(0,"30") @workbook.write('/Users/vbhagwat/Desktop/test2/Output/test10.xlsx')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubyXL-1.0.6 | lib/tests/test10.rb |
rubyXL-1.0.5 | lib/tests/test10.rb |
rubyXL-1.0.4 | lib/tests/test10.rb |