Navigation Menu

Skip to content

Commit

Permalink
Support multi-byte file name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 18, 2018
1 parent 38c0435 commit 8e90e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chupa-text/decomposers/spreadsheet.rb
Expand Up @@ -20,7 +20,7 @@ def target?(data)
end

def decompose(data)
book = Roo::Spreadsheet.open(data.uri)
book = Roo::Spreadsheet.open(data.path.to_s)
book.sheets.each do |sheet_name|
sheet = book.sheet(sheet_name)
body = sheet.to_csv
Expand Down

0 comments on commit 8e90e8e

Please sign in to comment.