lib/hubdown/style_scraper.rb in hubdown-0.0.15 vs lib/hubdown/style_scraper.rb in hubdown-0.0.17
- old
+ new
@@ -5,10 +5,10 @@
class StyleScraper
def initialize uri
@uri = uri
begin
- @page = Nokogiri::HTML( open( @uri ) )
+ @page = Nokogiri::HTML( URI.open( @uri ) )
rescue
# do nothing
end
end