Method: PEROBS::POXReference#==

Defined in:
lib/perobs/ObjectBase.rb

#==(obj) ⇒ Object

BasicObject provides a ==() method that prevents method_missing from being called. So we have to pass the call manually to the referenced object.

Parameters:

  • obj

    object to compare this object with.



86
87
88
# File 'lib/perobs/ObjectBase.rb', line 86

def ==(obj)
  _referenced_object == obj
end