Sha256: f6d9e8b04efaf0f749419d5a7408838ac4f4dfb304e46cbb2ba802840e8042bc

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx_func_testcase'

class TestGridlines < XlsxWriterTestCase
  test 'gridlines01' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => ['<pageMargins'] }
    ws = wb.add_worksheet

    ws.paper = 9
    ws.vertical_dpi = 200

    ws.gridlines = XlsxWriter::Worksheet::GRIDLINES_HIDE_ALL

    ws.write_string(0, 'A', 'Foo', nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_gridlines.rb