self == other -> true | false[permalink][rdoc][edit]-
other が同じシンボルの時に真を返します。そうでない場合は偽を返します。
- [PARAM]
other: - 比較対象のシンボルを指定します。
p :aaa == :aaa #=> true p :aaa == :xxx #=> false - [PARAM]
self == other -> true | false[permalink][rdoc][edit]other が同じシンボルの時に真を返します。そうでない場合は偽を返します。
other:p :aaa == :aaa #=> true
p :aaa == :xxx #=> false