examples/hash.rb in pdf-reader-0.8.6 vs examples/hash.rb in pdf-reader-0.9.0
- old
+ new
@@ -6,7 +6,7 @@
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
require 'pdf/reader'
filename = File.dirname(__FILE__) + "/../specs/data/cairo-unicode.pdf"
-hash = PDF::Hash.new(filename)
+hash = PDF::Reader::ObjectHash.new(filename)
puts hash[3]