Module: FluentCommandBuilder::InstallUtil
- Defined in:
- lib/fluent_command_builder/command_builders/installutil.rb,
lib/fluent_command_builder/command_builders/installutil_11.rb,
lib/fluent_command_builder/command_builders/installutil_20.rb,
lib/fluent_command_builder/command_builders/installutil_35.rb,
lib/fluent_command_builder/command_builders/installutil_40.rb
Defined Under Namespace
Modules: V11, V20, V35, V40
Constant Summary
collapse
- COMMAND_NAME =
'installUtil'
Class Method Summary
collapse
Class Method Details
.version(path = nil) ⇒ Object
9
10
11
12
|
# File 'lib/fluent_command_builder/command_builders/installutil.rb', line 9
def self.version(path=nil)
executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
GetVersion[executable]
end
|