Method: Comparable#==

Defined in:
lib/source/ruby.rb

#==(obj) ⇒ Object

call-seq:

obj == other -> true or false

Compares two objects based on the receiver’s <=> method, returning true if the comparison returns 0. Also returns true if obj and other are the same object.



1239
1240
1241
# File 'lib/source/ruby.rb', line 1239

def ==(obj)
  `(this.__id__&&obj.__id__&&this.__id__==obj.__id__)||this.m$_ltgt(obj)==0`
end