Method: Jazzy::SymbolGraph::Relationship#<=>

Defined in:
lib/jazzy/symbol_graph/relationship.rb

#<=>(other) ⇒ Object



59
60
61
62
63
# File 'lib/jazzy/symbol_graph/relationship.rb', line 59

def <=>(other)
  return 0 if kind == other.kind

  KINDS_INDEX[kind] <=> KINDS_INDEX[other.kind]
end