Module: FluentCommandBuilder::Bundle

Defined in:
lib/fluent_command_builder/command_builders/bundle.rb,
lib/fluent_command_builder/command_builders/bundle_11.rb,
lib/fluent_command_builder/command_builders/bundle_12.rb

Defined Under Namespace

Modules: V11, V12

Constant Summary collapse

COMMAND_NAME =
'bundle'

Class Method Summary collapse

Class Method Details

.version(path = nil) ⇒ Object



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

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