Sha256: 267269e7465cb161987cc4e280a24c0d5dc4d1a9b3c47677e6030f07c510c709
Contents?: true
Size: 558 Bytes
Versions: 8
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
8 entries across 8 versions & 1 rubygems