# File lib/puppet/parser/collector.rb, line 71 71: def initialize(scope, type, equery, vquery, form) 72: @scope = scope 73: 74: # initialisation 75: @collected = {} 76: 77: # Canonize the type 78: @type = Puppet::Resource::Reference.new(type, "whatever").type 79: @equery = equery 80: @vquery = vquery 81: 82: raise(ArgumentError, "Invalid query form %s" % form) unless [:exported, :virtual].include?(form) 83: @form = form 84: end