mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-25 08:53:32 +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
|