lib/scrapzirra/scrap.rb in scrapzirra-0.0.2 vs lib/scrapzirra/scrap.rb in scrapzirra-0.0.3

- old
+ new

@@ -19,10 +19,10 @@ rescue @doc = Nokogiri::HTML::Document.parse('No data') end def selector_content css - @doc.css(css).collect{|a| a.content }.inject(:+) + doc.css(css).collect{|a| a.content }.inject(:+) end end end