Method: Niman::PackageResolver#resolve

Defined in:
lib/niman/package_resolver.rb

#resolveObject



8
9
10
11
12
13
14
15
16
# File 'lib/niman/package_resolver.rb', line 8

def resolve
  Array(@instructions).map do |instruction|
    if is_file?(instruction) && !instruction.path.empty?
      self.by_name(self.load(instruction.path))
    else
      instruction
    end
  end
end