Skip to content

Commit

Permalink
roo-rb#389 fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Mar 12, 2022
1 parent 0d1b91f commit 9a40dad
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,16 @@ sheet.to_xml
sheet.to_yaml
```

You can specified file as default argument to `#to_csv`:
Specify the file as default argument for `#to_csv`:

```ruby
# puts csv format content into a specified file
sheet.to_csv(File.new("/dev/null"))
```

also you can specify the custom separator for the content:
specify the custom separator:

```ruby
sheet.to_csv(separator: ":") # "," is used by default
sheet.to_csv(separator: ":") # "," using by default
```

### Excel (xlsx and xlsm) Support
Expand Down

0 comments on commit 9a40dad

Please sign in to comment.