DEV: More send -> public_send.

This commit is contained in:
Guo Xiang Tan
2019-05-07 10:05:58 +08:00
parent cac80cdc3b
commit 451f7842ff
5 changed files with 6 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ module Jobs
# write to CSV file
CSV.open(absolute_path, "w") do |csv|
csv << get_header
send(export_method).each { |d| csv << d }
public_send(export_method).each { |d| csv << d }
end
# compress CSV file