Method: Reporter::Scope::ReferenceScope#initialize

Defined in:
lib/reporter/scope/reference_scope.rb

#initialize(scoping, name, data_source, *args) ⇒ ReferenceScope

Returns a new instance of ReferenceScope.



3
4
5
6
7
8
9
# File 'lib/reporter/scope/reference_scope.rb', line 3

def initialize scoping, name, data_source, *args
	mappings = args.extract_options!
	mappings = create_mappings_for_object_type(data_source, args.first, mappings) if args.first
	super scoping, data_source, name, mappings
	@limiter = nil
	@id_collection = nil
end