class Gem::Molinillo::Resolver::Resolution::UnwindDetails
def <=>(other)
-
(Integer)
- integer specifying ordering
Parameters:
-
other
(UnwindDetail
) -- UnwindDetail to be compared
def <=>(other) if state_index > other.state_index 1 elsif state_index == other.state_index reversed_requirement_tree_index <=> other.reversed_requirement_tree_index else -1 end end