class ChefConfig::PathHelper

def self.home(*args)

Returns:
  • (String) -

Parameters:
  • args (Array) -- Path components to look for under the home directory.

Other tags:
    See: all_homes -
def self.home(*args)
  @@home_dir ||= all_homes { |p| break p }
  if @@home_dir
    path = File.join(@@home_dir, *args)
    block_given? ? (yield path) : path
  end
end