Method: ChefConfig::PathHelper.path_separator

Defined in:
lib/chef-config/path_helper.rb

.path_separator(windows: ChefUtils.windows?) ⇒ Object



50
51
52
53
54
55
56
# File 'lib/chef-config/path_helper.rb', line 50

def self.path_separator(windows: ChefUtils.windows?)
  if windows
    BACKSLASH
  else
    File::SEPARATOR
  end
end