Sha256: 4076df590893a782826fb1ee5fd06748013ce4cd4fe2463034e7158dedbf28f1
Contents?: true
Size: 360 Bytes
Versions: 5
Compression:
Stored size: 360 Bytes
Contents
require 'hexdump/hexdump' class File # # Hexdumps the contents of a file. # # @param [String] path # The path of the file. # # @param [Hash] options # Additional options. # # @see Hexdump.dump # def self.hexdump(path,options={},&block) self.open(path,'rb') do |file| Hexdump.dump(file,options,&block) end end end
Version data entries
5 entries across 5 versions & 1 rubygems