Class: FFMPEG::WindowTitles::WindowGrabber
- Inherits:
-
Object
- Object
- FFMPEG::WindowTitles::WindowGrabber
- Defined in:
- lib/ffmpeg/window_titles.rb
Overview
Instance Method Summary collapse
-
#available_windows_for(application) ⇒ Object
Returns a cleaned up list of available window titles for the given application (process) name.
Instance Method Details
#available_windows_for(application) ⇒ Object
Returns a cleaned up list of available window titles for the given application (process) name.
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 |