Created
September 28, 2018 06:30
-
-
Save angeldev20/38767df123339ee7127da21410260bf8 to your computer and use it in GitHub Desktop.
Read CSV by Roo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def readCSV | |
data = Roo::CSV.new(obj.public_url, csv_options: {encoding: Encoding::ISO_8859_1}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment