Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/hexdump/core_ext/file.rb
Class Method Summary collapse
-
.hexdump(path, **kwargs) {|hexdump| ... } ⇒ Object
Hexdumps the contents of a file.
Class Method Details
.hexdump(path, **kwargs) {|hexdump| ... } ⇒ Object
Hexdumps the contents of a file.
78 79 80 81 82 |
# File 'lib/hexdump/core_ext/file.rb', line 78 def self.hexdump(path,**kwargs,&block) self.open(path,'rb') do |file| file.hexdump(**kwargs,&block) end end |