dyba/fakefs — pull request #1 by dyba (2011-10-29 03:17:42+00:00)
Title: Refactor base.rb

Calling ```FakeFS.activate!``` or ```FakeFS.deactivate!``` will make a call to the ```remove_constants``` method which removes constants ```File```, ```Dir```, ```FileUtils```, and ```FileTest```. All tests pass after having made the changes. This change came about as an exercise I was working on to understand the difference between ```class_eval``` and ```class_exec```. Feel free to accept this commit or drop it.