Skip to content

Commit

Permalink
revert bound of default_sheet argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Nov 13, 2018
1 parent 9dc1ac3 commit 2e66f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roo/formatters/csv.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Roo
module Formatters
module CSV
def to_csv(filename = nil, separator: ",", sheet: default_sheet)
def to_csv(filename = nil, sheet = default_sheet, separator: ",")
if filename
File.open(filename, "w") do |file|
write_csv_content(file, sheet, separator)
Expand Down

0 comments on commit 2e66f7c

Please sign in to comment.