I had a funny situation today (simplified):
Ive a communication object of type Adapter
, with a #send
and a #receive
method.
My application communicates with it by DRb.
So in my application, I have a DRbObject
, lets say foo
.
Now, calling
foo.send(msg, dest)
calls the #send
on DRbObject
, instead of Adapter
.
Most easy fix would be of course to rename the send method. But, I'd like to stay as close to my documentation/underlying API as possible.
What do you think?
Should I rename the send
method, or is there a neat (local) hack for this?