1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-25 08:53:32 +03:00
mobile-nixos/boot/init/lib/monkey_patches/file.rb

8 lines
132 B
Ruby
Raw Normal View History

2019-12-22 07:12:39 +03:00
class File
def self.write(filename, contents)
File.open(filename, "w") do |file|
file.write(contents)
end
end
end