Commit a6c6a9d

mo khan <mo@mokhan.ca>
2024-05-24 17:06:39
remove hard coded path
1 parent 7c61e57
Changed files (1)
bin/community
@@ -192,7 +192,7 @@ class Census
   end
 
   def each
-    CSV.foreach("data/Census_by_Community_2019_20240524.csv", headers: true) do |row|
+    CSV.foreach(@path, headers: true) do |row|
       yield Community.new(row)
     end
   end