Class: Rubycam::CLI::Commands::Get
- Inherits:
-
VideoCommand
- Object
- Dry::CLI::Command
- VideoCommand
- Rubycam::CLI::Commands::Get
- Defined in:
- lib/rubycam/cli.rb
Instance Method Summary collapse
Instance Method Details
#call(control:, **options) ⇒ Object
107 108 109 |
# File 'lib/rubycam/cli.rb', line 107 def call(control:, **) with_device() { |dev| puts fetch_control(dev, control).value } end |