module Fileconv::File

Public Instance Methods

post_convert_file(data, acc) click to toggle source
# File lib/fileconv/file.rb, line 15
def post_convert_file(data, acc)
  acc[:opend_file].close
  data
end
pre_convert_file(data, acc) click to toggle source
# File lib/fileconv/file.rb, line 11
def pre_convert_file(data, acc)
  acc[:opend_file] = ::File.open(acc[:orig_filename], @opts[:read_file_opts])
end
pre_init_conv() click to toggle source
# File lib/fileconv/file.rb, line 7
def pre_init_conv
  @opts[:disable_read_file] = true
end