lib/scrapers/download.rb in scrapers-0.2.0 vs lib/scrapers/download.rb in scrapers-0.2.1
- old
+ new
@@ -24,11 +24,9 @@
end
File.join(@dir,dl.filename)
end
def self.validate_directory(d)
- STDERR.puts caller(0,1).first +
- "d: #{d.inspect}. directory? #{File.directory?(d)}. writable? #{File.writable?(d)}"
raise "#{d} is not a writable directory!" unless File.directory?(d) and File.writable?(d)
d
end
end