Sha256: d248831851585d63b3137ed6ef47f83c332bd591d2cd657503d79c3d49cfe8dc
Contents?: true
Size: 288 Bytes
Versions: 13
Compression:
Stored size: 288 Bytes
Contents
# # Wrapper for Ruby's file services, replaced during testing # so we can run tests without touching a real filesystem. # class FileService def open(*args) super(*args) end def exist?(name) File.exist?(name) end def dir_entries(name) Dir.entries(name) end end
Version data entries
13 entries across 13 versions & 2 rubygems