Sha256: 3a7daf622641e5a95a61524d683858b56cecba6e836a6a3febe05a1cc80448f3
Contents?: true
Size: 257 Bytes
Versions: 1
Compression:
Stored size: 257 Bytes
Contents
module Music module Transcription module_function def pack_score score packing = score.pack packing["type"] = score.class.to_s return packing end def unpack_score packing type = Kernel.const_get(packing["type"]) type.unpack(packing) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
music-transcription-0.21.0 | lib/music-transcription/packing/score_packing.rb |