Module: Pvectl::Commands::SetVolume::ClassMethods

Included in:
Pvectl::Commands::SetVolume
Defined in:
lib/pvectl/commands/set_volume.rb,
sig/pvectl/commands/set_volume.rbs

Overview

Class methods for command execution.

Instance Method Summary collapse

Instance Method Details

#execute(args, options, global_options) ⇒ Integer

Executes the set volume command.

Parameters:

  • command arguments

  • command options

  • global CLI options

Returns:

  • exit code



28
29
30
# File 'lib/pvectl/commands/set_volume.rb', line 28

def execute(args, options, global_options)
  new(args, options, global_options).execute
end