Sha256: 914801df44da88f6888f98fc0eb7166300f8fce5b0810f66048ad5552b8b5e09
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
module Zeamays class Cob module Defreezing def unpack(packed_string) unpacked_list = [] left_string = packed_string while left_string.size != 0 do unpacked = left_string.unpack(package_pattern + tail_pattern) left_string = unpacked.pop unpacked_list << unpacked end unpacked_list end private def tail_pattern 'a*' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zeamays-0.0.5 | lib/zeamays/cob/defreezing.rb |