How to parse ruby files programmatically
Andrey Tuzhilin <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <[email protected]> |
Hi! 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? Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>