Sha256: f9ec813794007c15fb5bb117e902bc3dc2c40b8bedd1684621c1580b09aec9e6
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
require_relative './xlsx-func-testcase' class TestMergeRange < XlsxWriterTestCase test 'merge_range03' do |wb| wb.add_format(:f, align: XlsxWriter::Format::ALIGN_CENTER) wb.add_worksheet .merge_range(1, 1, 1, 2, 'Foo', :f) .merge_range('D2:E2', 'Foo', :f) .merge_range('F2', 'G2', 'Foo', :f) end test 'merge_range05' do |wb| wb.add_format(:f, align: XlsxWriter::Format::ALIGN_CENTER) wb.add_worksheet .merge_range('B2:D2', '', :f) .write_number(1, 1, 123, :f) end end
Version data entries
6 entries across 6 versions & 1 rubygems