Rails
Ruby 3.0
6.1
6.0
5.2
5.1
5.0
4.2
2.5.0
2.6.0
2.7.0
instance method RDoc::Context#<=>
self <=> other -> -1 | 0 | 1
[
permalink
][
rdoc
][
edit
]
自身と other の full_name を比較した結果を返します。
ソートのために使われます。
[PARAM] other:
自身と比較したいオブジェクトを指定します。