# File lib/pdf/reader/explore.rb, line 46 def output_parent (obj) case obj when Hash obj.each do |k,v| print "#{k}"; output_child(v); print "\n" Explore::const_set(k, k) if !Explore.const_defined?(k) end when Array obj.each_with_index {|o, i| print "#{i}: "; output_child(o); print "\n"} else output_child(obj) print "\n" end end