diff options
| author | Randy Morgan <[email protected]> | 2012-02-14 08:33:39 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-14 08:33:39 +0900 |
| commit | 8bcc77953262fd934bd4b84daf53d946c576193b (patch) | |
| tree | 4179fefc544b92aeaee97a031dd083a52423aac8 /examples/example.rb | |
| parent | 80459ca70930ee8522b8547669bbbe7aef5a12a4 (diff) | |
| download | caxlsx-8bcc77953262fd934bd4b84daf53d946c576193b.tar.gz caxlsx-8bcc77953262fd934bd4b84daf53d946c576193b.zip | |
changing column_widths to accept *args instead of a declared array.
Diffstat (limited to 'examples/example.rb')
| -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 552a5fc9..b06f0544 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.column_widths [nil, 3] + sheet.column_widths nil, 3 end ##Validate and Serialize |
