example.rb in docparser-0.1.2 vs example.rb in docparser-0.1.3
- old
+ new
@@ -2,10 +2,9 @@
# An example of parsing hackaday.com
# (C) 2013 Jurriaan Pruis
#
$LOAD_PATH.unshift __dir__
require File.expand_path('lib/docparser.rb', __dir__)
-require 'tmpdir'
include DocParser
output = MultiOutput.new(filename: 'hackaday')
output.header = 'Title', 'Author', 'Publication date', 'URL', 'Summary'
files = Dir[File.join(__dir__, 'test/support/hackaday/*.html')]
\ No newline at end of file