Sha256: d01d877be95eeaf69e0a9402013a38351f3b1f4d159b3d2db85665d2ca3532dc
Contents?: true
Size: 280 Bytes
Versions: 12
Compression:
Stored size: 280 Bytes
Contents
# encoding: utf-8 module FIR module Parser module Common def generate_tmp_icon data tmp_icon_path = "#{Dir.tmpdir}/icon-#{SecureRandom.hex[4..9]}.png" File.open(tmp_icon_path, 'w+') { |f| f << data } tmp_icon_path end end end end
Version data entries
12 entries across 12 versions & 1 rubygems