Module: FluentCommandBuilder::Rake

Defined in:
lib/fluent_command_builder/command_builders/rake.rb,
lib/fluent_command_builder/command_builders/rake_09.rb,
lib/fluent_command_builder/command_builders/rake_100.rb

Defined Under Namespace

Modules: V09, V100

Constant Summary collapse

COMMAND_NAME =
'rake'

Class Method Summary collapse

Class Method Details

.version(path = nil) ⇒ Object



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

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