class Bundler::Molinillo::Resolver::Resolution
def find_state_for(requirement)
-
(ResolutionState)
- the state whose `requirement` is the given
def find_state_for(requirement) return nil unless requirement states.reverse_each.find { |i| requirement == i.requirement && i.is_a?(DependencyState) } end