# File proof.rb, line 17 def initialize(proofsheets) if proofsheets.is_a?(Proofsheets) @proofsheets = proofsheets else @proofsheets = Proofsheets.new @proofsheets.load_proofsheets(proofsheets) end @absolute_dies = {} # absolute_dies[xpath] = die @arbitrary_dies = {} # arbitrary_dies[namespace, xpath] = die @options = Hash.new([]) # options[option] = [ [namespace, xpath], ... ] @collections = Hash.new([]) # collections[collection] = [ [ namespace, xpath ], ... ] parse_proofsheet end