mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-17 21:11:34 +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
|