Sha256: f5c52987c585e32efa856f51f8e20346d56cf4a6595f1e731975a45f5a41d87b
Contents?: true
Size: 229 Bytes
Versions: 11
Compression:
Stored size: 229 Bytes
Contents
module Helpers module FileSystem def write_file(file_name, contents) ::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
11 entries across 11 versions & 2 rubygems