Sha256: ef04613879279e187aa5f0d296b3421985286f049ee95a74e552edac93c87364
Contents?: true
Size: 362 Bytes
Versions: 10
Compression:
Stored size: 362 Bytes
Contents
module FFMpegCommand extend self @commands = [] def <<(cmd) @commands << cmd end def add_at(cmd, pos) @commands.insert(pos, cmd) end def clear @commands.clear end def command(prefix="") returning prefix.to_s do |prefix| @commands.each do |command| prefix << " #{command}" end end end end
Version data entries
10 entries across 10 versions & 2 rubygems