lib/gzr/modules/filehelper.rb in gazer-0.2.60 vs lib/gzr/modules/filehelper.rb in gazer-0.3.0
- old
+ new
@@ -21,9 +21,10 @@
# frozen_string_literal: true
require 'pathname'
require 'rubygems/package'
+require 'stringio'
module Gzr
module FileHelper
def write_file(file_name=nil,base_dir=nil,path=nil,output=$stdout)
f = nil