Class: Dhall::ExpressionResolver::HashResolver

Inherits:
Dhall::ExpressionResolver show all
Defined in:
lib/dhall/resolve.rb

Instance Method Summary collapse

Methods inherited from Dhall::ExpressionResolver

for, #initialize, register_for

Constructor Details

This class inherits a constructor from Dhall::ExpressionResolver

Instance Method Details

#resolve(**kwargs) ⇒ Object



495
496
497
498
499
# File 'lib/dhall/resolve.rb', line 495

def resolve(**kwargs)
	Util.promise_all_hash(Hash[@expr.map do |k, v|
		[k, ExpressionResolver.for(v).resolve(**kwargs)]
	end])
end