memfs
memfs copied to clipboard
require/load/autoload
There's my old patch that never made it into FakeFS: https://github.com/defunkt/fakefs/pull/81
Feel free to cherry-pick whatever you feel is useful, the tests might be especially handy. I personally don't have a use for a filesystem stubbing library right now, just wanted to point out stuff that's already there :)
Thank you! The feature seems a good idea and may be useful.
I'll wait for File to be a bit more consistent with Ruby's File class (I'm looking at you IO methods ^^) and try to work on this!
Thanks again :)