module Sprockets::SourceMapUtils

def vlq_encode_mappings(ary)

Returns a VLQ encoded String seperated by , and ;.

ary - Two dimensional Array of Integers.

Public: Encode a mapping array into a compact VLQ string.
def vlq_encode_mappings(ary)
  ary.map { |group|
    group.map { |segment|
      vlq_encode(segment)
    }.join(',')
  }.join(';')
end