Sha256: 60d6c4887a6587feed913a038d13dc1143242177f1ba67ba679fb14c8df31c9a
Contents?: true
Size: 261 Bytes
Versions: 4
Compression:
Stored size: 261 Bytes
Contents
module Helpers module FileSystem def write_file(file_name, contents) write_directory(TMP_ROOT) ::File.open(file_name.to_s, 'w') {|f| f.write(contents) } end def write_directory(name) FileUtils.mkdir_p(name) end end end
Version data entries
4 entries across 4 versions & 2 rubygems