I need to parse ruby files (files, containing ruby code) and edit them. Specifically, I need:
1. Extract the list of classes defined in file
2. Without them being applied in current env (if some file for instance contains `String` class method patching, I don’t want it to be patched in current ruby session)
Is there a way to accomplish this?