Class: Rubycam::CLI::Commands::Exposure
- Inherits:
-
ObsbotCommand
- Object
- Dry::CLI::Command
- VideoCommand
- ObsbotCommand
- Rubycam::CLI::Commands::Exposure
- Defined in:
- lib/rubycam/cli.rb
Instance Method Summary collapse
Instance Method Details
#call(mode:, **options) ⇒ Object
258 259 260 261 262 |
# File 'lib/rubycam/cli.rb', line 258 def call(mode:, **) with_obsbot() do |bot| bot.exposure_mode = pick(mode, Obsbot::EXPOSURE_MODES.keys) end end |