module FfmpegWrapper

Constants

VERSION

Public Class Methods

method_missing(meth, *_args, &_blk) click to toggle source

Check if ffmpeg is present in the system

# File lib/ffmpeg_wrapper.rb, line 5
def self.method_missing(meth, *_args, &_blk)
  case meth.to_s
  when /has_(?<cmd>.*)\?/ then system "which #{$1} &>/dev/null"
  end
end