class Molinillo::Resolver::Resolution
def parent_of(requirement)
-
(Object)
- the requirement that led to `requirement` being added
Parameters:
-
requirement
(Object
) --
def parent_of(requirement) return unless requirement return unless index = @parents_of[requirement].last return unless parent_state = @states[index] parent_state.requirement end