class LittleGhost::Tools::Filesystem::WriteFile
Writes one UTF-8 text file through a writable sandbox.
Public Instance Methods
Source
# File lib/little_ghost/tools/filesystem.rb, line 57 def call(input) sandbox.write(input.fetch("path"), input.fetch("content"), context:) end
Writes input["content"] to input["path"] through the sandbox.