1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-24 16:32:12 +03:00
mobile-nixos/boot/init/lib/monkey_patches/file.rb
2020-02-03 16:19:10 -05:00

8 lines
132 B
Ruby

class File
def self.write(filename, contents)
File.open(filename, "w") do |file|
file.write(contents)
end
end
end