class Molinillo::Resolver::Resolution::UnwindDetails

def reversed_requirement_tree_index

Returns:
  • (Integer) - index of state requirement in reversed requirement tree
def reversed_requirement_tree_index
  @reversed_requirement_tree_index ||=
    if state_requirement
      requirement_tree.reverse.index(state_requirement)
    else
      999_999
    end
end