Class: Dhall::Resolvers::LocalOnly

Inherits:
Standard
  • Object
show all
Defined in:
lib/dhall/resolve.rb

Instance Attribute Summary

Attributes inherited from Standard

#deadline

Instance Method Summary collapse

Methods inherited from Standard

#cache_fetch, #child, #finish!, #resolve_environment, #resolve_http, #resolve_https, #resolve_path, #with_deadline

Constructor Details

#initialize(path_reader: ReadPathSources, environment_reader: ReadEnvironmentSources, max_depth: 50) ⇒ LocalOnly

Returns a new instance of LocalOnly.



373
374
375
376
377
378
379
380
381
382
383
384
385
# File 'lib/dhall/resolve.rb', line 373

def initialize(
	path_reader: ReadPathSources,
	environment_reader: ReadEnvironmentSources,
	max_depth: 50
)
	super(
		path_reader:        path_reader,
		environment_reader: environment_reader,
		http_reader:        RejectSources,
		https_reader:       RejectSources,
		max_depth:          max_depth
	)
end