class Bundler::Molinillo::Resolver::Resolution

def requirement_tree_for(requirement)

Returns:
  • (Array) - the list of requirements that led to
    def requirement_tree_for(requirement)
      tree = []
      while requirement
        tree.unshift(requirement)
        requirement = parent_of(requirement)
      end
      tree
    end