1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2025-01-05 19:03:21 +03:00
mobile-nixos/boot/lib/00-monkey_patches/file.rb
2021-01-01 21:37:30 -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