instance method Module#>
self > other -> bool | nil
-
比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。
継承関係にないクラス同士の比較では nil を返します。
- [PARAM] other:
- 比較対象のモジュールやクラス
- [EXCEPTION] TypeError:
- other がクラスやモジュールではない場合に発生します。
[SEE_ALSO] Module#<
class Module