Class: ScreenRecorder::Desktop
- Includes:
- Screenshot
- Defined in:
- lib/screen-recorder/desktop.rb
Overview
Constant Summary collapse
- DEFAULT_INPUT_WIN =
'desktop'.freeze
- DEFAULT_INPUT_LINUX =
ENV.fetch('DISPLAY', ':0').freeze
- DEFAULT_INPUT_MAC =
ENV.fetch('DISPLAY', '1').freeze
Constants inherited from Common
Instance Attribute Summary
Attributes inherited from Common
Instance Method Summary collapse
-
#initialize(output:, input: input_by_os, advanced: {}) ⇒ Desktop
constructor
Desktop recording mode.
Methods included from Screenshot
Methods inherited from Common
Constructor Details
#initialize(output:, input: input_by_os, advanced: {}) ⇒ Desktop
Desktop recording mode.
14 15 16 |
# File 'lib/screen-recorder/desktop.rb', line 14 def initialize(output:, input: input_by_os, advanced: {}) super(input: determine_input(input), output: output, advanced: advanced) end |