class Bundler::Molinillo::Resolver::Resolution

def requirement_for_existing_name(name)

Returns:
  • (Object) - the requirement that led to a version of a possibility
def requirement_for_existing_name(name)
  return nil unless activated.vertex_named(name).payload
  states.reverse_each.find { |s| !s.activated.vertex_named(name).payload }.requirement
end