Module: FluentCommandBuilder::NuGet

Defined in:
lib/fluent_command_builder/command_builders/nuget.rb,
lib/fluent_command_builder/command_builders/nuget_20.rb,
lib/fluent_command_builder/command_builders/nuget_21.rb

Defined Under Namespace

Modules: V20, V21

Constant Summary collapse

COMMAND_NAME =
'NuGet'

Class Method Summary collapse

Class Method Details

.version(path = nil) ⇒ Object



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

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