Sha256: c1f22e82f7d35fd17a696d698f6aca634aa3effba7fd07291df20b4978d1c4db
Contents?: true
Size: 285 Bytes
Versions: 5
Compression:
Stored size: 285 Bytes
Contents
module Helpers DIRECTORY = File.join(File.dirname(__FILE__),'hexdumps') def load_binary_data(name) File.open(File.join(DIRECTORY,"#{name}.bin"),'rb') do |file| file.read end end def load_hexdump(name) File.read(File.join(DIRECTORY,"#{name}.txt")) end end
Version data entries
5 entries across 5 versions & 1 rubygems