Sha256: ba3faa29c72188bbacd9b4d565214d3f56c18d2c811193eaa1078e231db88564
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xlsxwriter-0.2.2 | test/test_merge_range.rb |