Class: Rubycam::CLI::Commands::Hdr

Inherits:
ObsbotCommand show all
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:, **options)
  with_obsbot(options) { |bot| bot.hdr = pick(state, %i[on off]) == :on }
end