-
-
Save AndrewVos/5dad8d95bd11cf041059 to your computer and use it in GitHub Desktop.
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 read_in_csv_data(csv_file_name) | |
CSV.foreach(csv_file_name, headers: true) do |row| | |
if row["Institution_Name"] =~ /art/i | |
next if row["Institution_Name"] =~ /culinary/i | |
@art_schools << ArtSchool.new(row["Institution_Name"]) #add address | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment