Class: Rubycam::CLI::Commands::Hdr
- Inherits:
-
ObsbotCommand
- Object
- Dry::CLI::Command
- VideoCommand
- ObsbotCommand
- Rubycam::CLI::Commands::Hdr
- Defined in:
- lib/rubycam/cli.rb
Instance Method Summary collapse
Instance Method Details
#call(state:, **options) ⇒ Object
249 250 251 |
# File 'lib/rubycam/cli.rb', line 249 def call(state:, **) with_obsbot() { |bot| bot.hdr = pick(state, %i[on off]) == :on } end |