Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
requirement_for_existing_name(name)
private
@return [Object] the requirement that led to a
version of a possibility
with the given name being activated.
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 582
def requirement_for_existing_name(name)
return nil unless vertex = activated.vertex_named(name)
return nil unless vertex.payload
states.find { |s| s.name == name }.requirement
end