mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-24 16:32:12 +03:00
8 lines
132 B
Ruby
8 lines
132 B
Ruby
class File
|
|
def self.write(filename, contents)
|
|
File.open(filename, "w") do |file|
|
|
file.write(contents)
|
|
end
|
|
end
|
|
end
|