Module MockFS
In: mockfs.rb

Methods

Classes and Modules

Class MockFS::MockFileSystem

Constants

Version = '0.1.3'

Public Class methods

Tell MockFS whether to offer interfaces to the real or mock file system. is_mock should be a Boolean.

Returns true or false depending on whether MockFS is using the mock file system.

If we’re in mock mode, this will return the MockFileSystem; otherwise it will raise a RuntimeError.

[Validate]