Class/Module Index [+]

Quicksearch

Puppet::Acceptance::CommandUtils

Public Class Methods

gem_command(host) click to toggle source
# File acceptance/lib/puppet/acceptance/common_utils.rb, line 134
def gem_command(host)
  if host['platform'] =~ /windows/
    "env PATH=\"#{host['privatebindir']}:${PATH}\" cmd /c gem"
  else
    "env PATH=\"#{host['privatebindir']}:${PATH}\" gem"
  end
end
ruby_command(host) click to toggle source
# File acceptance/lib/puppet/acceptance/common_utils.rb, line 129
def ruby_command(host)
  "env PATH=\"#{host['privatebindir']}:${PATH}\" ruby"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.