Class | VCR::BasicObject |
In: |
lib/vcr/util/basic_object.rb
|
Parent: | Object |
taken directly from backports: github.com/marcandre/backports/blob/v1.18.2/lib/backports/basic_object.rb
KEEP | = | [:instance_eval, :instance_exec, :__send__, "instance_eval", "instance_exec", "__send__"] |
Let‘s try to keep things clean, in case methods have been added to Object either directly or through an included module. We‘ll do this whenever a class is derived from BasicObject Ideally, we‘d do this by trapping Object.method_added and M.method_added for any module M included in Object or a submodule Seems really though to get right, but pull requests welcome ;-)