fxn / i-told-you-it-was-private

MIT License
244 stars 16 forks source link

Bug: Private method still callable #9

Closed natematykiewicz closed 1 year ago

natematykiewicz commented 2 years ago

I just discovered a critical issue with this wonderful gem.

With modern deployment methods, it's uncommon that a process will ever be restarted. With the eager loading and files already loaded into RAM, deleting the source file doesn't actually do much to prevent the private method from being used. I propose that the calling class have all of its methods removed, to ensure that the private method is no longer called.