Module: JDCManifests::Resolver

Included in:
Loader
Defined in:
lib/manifests/loader/resolver.rb

Instance Method Summary collapse

Instance Method Details

#resolve(manifest, resolver) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/manifests/loader/resolver.rb', line 3

def resolve(manifest, resolver)
  new = {}

  new[:applications] = manifest[:applications].collect do |app|
    resolve_lexically(resolver, app, [manifest])
  end

  resolve_lexically(resolver, new, [new])
end