Sha256: b0158357fc76d3d9a8ccd261b6ce8f6452e80717cbce94298a5c69a335eabd3b

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module Music
module Transcription

class Program
  def pack
    @segments.map do |seg|
      seg.to_s
    end
  end
  
  def self.unpack packing
    segments = packing.map {|str| Segment.parse(str) }
    new segments
  end
end

end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
music-transcription-0.21.0 lib/music-transcription/packing/program_packing.rb
music-transcription-0.20.0 lib/music-transcription/packing/program_packing.rb
music-transcription-0.19.0 lib/music-transcription/packing/program_packing.rb