module Gemmy::Patches::ObjectPatch::InstanceMethods::Write
Writes a string to a file @param file [String] path to write to @param text [String] text to write
Public Instance Methods
write(file:, text:)
click to toggle source
# File lib/gemmy/patches/object_patch.rb, line 292 def write(file:, text:) File.open(file, 'w') { |f| f.write text } end