Skip to content

Commit

Permalink
Fixes undefined local variable or method `worksheet_index' after refa…
Browse files Browse the repository at this point in the history
…ctoring
  • Loading branch information
netbe committed Apr 22, 2014
1 parent 6d64059 commit f426e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/babelish/google_doc.rb
Expand Up @@ -12,7 +12,7 @@ module Babelish
class GoogleDoc
attr_accessor :session

def download(requested_filename, output_filename = "translations.csv")
def download(requested_filename, worksheet_index = 0, output_filename = "translations.csv")
file = file_with_name(requested_filename)
return nil unless file
file.export_as_file(output_filename, "csv", worksheet_index)
Expand Down

0 comments on commit f426e61

Please sign in to comment.