Restore default state for core ruby objects
|Target version:||next minor|
puts 'Running lala() from class String.'
This is possible.
My question is - is there a reason why we can not restore
to the default ruby state again?
For instance, if I would do:
I could undo all modifications to String, save what was used
in String class on startup/initialize.
The reason I would like to have something like this is so
that I could safely undo all "monkey" patches again, if needed,
for a given project.