Class: Rubycam::CLI::Commands::Speed

Inherits:
ObsbotCommand show all
Defined in:
lib/rubycam/cli.rb

Instance Method Summary collapse

Instance Method Details

#call(speed:, **options) ⇒ Object



238
239
240
241
242
# File 'lib/rubycam/cli.rb', line 238

def call(speed:, **options)
  with_obsbot(options) do |bot|
    bot.tracking_speed = pick(speed, Obsbot::TRACKING_SPEEDS)
  end
end