Class: FFMPEG::WindowTitles::WindowGrabber

Inherits:
Object
  • Object
show all
Defined in:
lib/ffmpeg/window_titles.rb

Overview

Since:

  • 1.0.0-beta4

Instance Method Summary collapse

Instance Method Details

#available_windows_for(application) ⇒ Object

Returns a cleaned up list of available window titles for the given application (process) name.

Raises:

  • (NotImplementedError)

Since:

  • 1.0.0-beta4


24
25
26
27
28
29
# File 'lib/ffmpeg/window_titles.rb', line 24

def available_windows_for(application)
  return windows_os_window(application) if OS.windows?
  return linux_os_window(application) if OS.linux?

  raise NotImplementedError, 'Your OS is not supported.'
end