Class: Hexify
- Inherits:
-
Object
- Object
- Hexify
- Defined in:
- lib/hexify.rb
Class Method Summary collapse
Class Method Details
.following(data) ⇒ Object
3 4 5 |
# File 'lib/hexify.rb', line 3 def self.following(data) data.bytes.each.inject("") { |output, byte| output += "%02X " % [ byte.ord ] } end |