-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
Good day,
I have coordinate objects in protobuf which have a .y attribute defined, but rely on method_missing to trigger calls to C.
Kernel.y intercepts the message and gives me an unexpected result.
I believe other systems which also rely on method_missing like nokogiri will cause the same trouble when trying to access an arbitrary "y" property in a document.
Can we rename the "y" patch to Kernel, to something less common, please?
Line 5 in 21f051b
| def y *objects |
Otherwise people who use x,y,z coordinates get adverse effects and have to implement a workaround like the following.
def y
send(:method_missing, :y)
endEven "yy" would be better. Thank you :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels