module RBS::Ops::_Compare
An interface for types implementing the <=> operator
Public Instance Methods
(O other) → R
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.1/core/rbs/ops.rbs, line 66
def <=>: (O other) -> R
Perform the <=> operation