module RTesseract::Base
Public Instance Methods
Source
# File lib/rtesseract/base.rb, line 13 def remove_tmp_file(absolute_file_path) File.delete(absolute_file_path) if File.file?(absolute_file_path) end
Source
# File lib/rtesseract/base.rb, line 9 def temp_file_path Pathname.new(Dir.tmpdir).join("rtesseract_#{SecureRandom.uuid}").to_s end