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



484
485
486
487
488
# File 'lib/dhall/resolve.rb', line 484

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