Module: MPlayer::Screenshot

Extended by:
Screenshot
Included in:
Screenshot
Defined in:
lib/mplayer_screenshot.rb

Instance Method Summary collapse

Instance Method Details

#take(filename, opts = {}) ⇒ Object



7
8
9
# File 'lib/mplayer_screenshot.rb', line 7

def take(filename, opts={})
  Screenshoter.new(filename, opts[:mplayer_path] || 'mplayer').take(opts)
end