-
Notifications
You must be signed in to change notification settings - Fork 1
Stackoverflow on multiple patches #1
Copy link
Copy link
Open
Description
Hello,
Nice code done. Thanks!
I found a problem if a make a double monkey patch. The DateOriginal (as in the example) won't work and its constructor will return a 'stack overflow'.
I remembered alias_method_chain from Rails, that allows multiple monkeys patches in a chain style. Could this be implemented? Or maybe a simple protection against double monkey patching?
cheers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels