diff options
| author | Randy Morgan <[email protected]> | 2012-02-13 22:28:58 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-13 22:28:58 +0900 |
| commit | 80459ca70930ee8522b8547669bbbe7aef5a12a4 (patch) | |
| tree | dc5495352ba3e3b5dbb2c977e32c55f371397ab3 /examples | |
| parent | a78481741fa7b6bf999461a12cc5c9dce026ea49 (diff) | |
| download | caxlsx-80459ca70930ee8522b8547669bbbe7aef5a12a4.tar.gz caxlsx-80459ca70930ee8522b8547669bbbe7aef5a12a4.zip | |
Improve accessibility and stringency for column_widths editing.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/example.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.rb b/examples/example.rb index 9e4b0277..552a5fc9 100644 --- a/examples/example.rb +++ b/examples/example.rb @@ -191,7 +191,7 @@ wb.add_worksheet(:name => "custom column widths") do |sheet| sheet.add_row ["I use autowidth and am very wide", "I use a custom width and am narrow"] - sheet.auto_fit_data[1][:fixed] = 3 + sheet.column_widths [nil, 3] end ##Validate and Serialize |
