Sha256: f434e1eadd82377bd2194aac05f969a2366fe1a182b0b21d76fcdd484f0f235e
Contents?: true
Size: 206 Bytes
Versions: 10
Compression:
Stored size: 206 Bytes
Contents
class Unidom::Common::Numeration def self.hex(data) data.present? ? data.unpack('H*')[0] : nil end def self.rev_hex(hex) hex.present? ? hex.scan(/../).map(&:hex).pack('c*') : nil end end
Version data entries
10 entries across 10 versions & 1 rubygems