Class: StringIO

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/mdm/enrollment/enrollment_controller.rb

Overview

TODO: move this somewhere

Instance Method Summary collapse

Instance Method Details

#hexastringObject



39
40
41
42
43
44
45
# File 'app/controllers/mdm/enrollment/enrollment_controller.rb', line 39

def hexastring
  chars = []
  each_byte { |byte|
    chars << ("%02x" % byte)
  }
  return chars.join
end