lib/image_scraper/util.rb in image_scraper-0.1.1 vs lib/image_scraper/util.rb in image_scraper-0.1.2
- old
+ new
@@ -14,7 +14,11 @@
def self.path(url)
uri = URI.parse(url)
uri.path
end
+
+ def self.strip_quotes(image_url)
+ image_url.gsub("'","").gsub('"','')
+ end
end
end
\ No newline at end of file