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