From: Nick Klauer Date: 2011-09-13T11:52:50+09:00 Subject: Can monkey patching be discovered when you require a library? --bcaec529999f1e282004acc9bda7 Content-Type: text/plain; charset=UTF-8 Is it possible to know whether a method, class, or instance was overridden by another when you require 'said_gem' in (i.e. monkeypatched)? I'm thinking something that would let gem users know if a gem is going to override core methods or attrs? I was thinking that alot of the time, we try out a gem hoping it will suit our needs, and ideally, you would probably want to look at the source code of the gem before using it in production. However, if you were able to run some test or metric on a gem to find out what (if any) methods, classes, instances, attributes, etc., were being overwritten, and where they were being overwritten at, it might give you a better idea of potential problems down the road. -Nick Klauer --bcaec529999f1e282004acc9bda7--