blob: bd01203d3d9a4c423ff65e597d1a8fe416323495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
## Description
This is a very basic example with a worksheet and two rows of data.
## Code
```ruby
require 'axlsx'
p = Axlsx::Package.new
p.use_autowidth = false
wb = p.workbook
wb.add_worksheet(name: 'Basic Worksheet') do |sheet|
sheet.add_row ['oh look! no autowidth']
end
p.serialize 'no_autowidth_example.xlsx'
```
## Output

|