Sha256: d8c27eb9d798305a7d055a33a2401dd7971cea7d2118627412b6aee5cb45f135
Contents?: true
Size: 471 Bytes
Versions: 17
Compression:
Stored size: 471 Bytes
Contents
module FakeFS # FileTest module FileTest extend self def exist?(file_name) File.exist?(file_name) end def directory?(file_name) File.directory?(file_name) end def file?(file_name) File.file?(file_name) end def size?(file_name) File.size?(file_name) end def readable?(file_name) File.readable?(file_name) end def writable?(file_name) File.writable?(file_name) end end end
Version data entries
17 entries across 17 versions & 1 rubygems