Class: Dhall::ExpressionResolver::ImportAsLocationResolver
- Inherits:
-
Dhall::ExpressionResolver
- Object
- Dhall::ExpressionResolver
- Dhall::ExpressionResolver::ImportAsLocationResolver
- 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(resolver:, relative_to:) ⇒ Object
424 425 426 427 428 |
# File 'lib/dhall/resolve.rb', line 424 def resolve(resolver:, relative_to:) Promise.resolve(nil).then do @expr.real_path(relative_to).location end end |