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