Class: Rubycam::CLI::Commands::XuSend

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

Instance Method Summary collapse

Instance Method Details

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



293
294
295
296
297
# File 'lib/rubycam/cli.rb', line 293

def call(hex:, **options)
  with_obsbot(options) do |bot|
    bot.send_hex(hex, selector: Integer(options.fetch(:selector)))
  end
end