Module: FluentCommandBuilder::Netsh

Defined in:
lib/fluent_command_builder/command_builders/netsh.rb,
lib/fluent_command_builder/command_builders/netsh_61.rb

Defined Under Namespace

Modules: V61

Constant Summary collapse

COMMAND_NAME =
'netsh'

Class Method Summary collapse

Class Method Details

.version(path = nil) ⇒ Object



9
10
11
12
# File 'lib/fluent_command_builder/command_builders/netsh.rb', line 9

def self.version(path=nil)
  executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
  GetVersion[executable]
end