From 62b29e768634b68c4780fcc6c7911e5e755ad6a3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 26 Jun 2014 18:48:31 -0500 Subject: [PATCH] Give Keg#link_dir parameter a more descriptive name --- Library/Homebrew/keg.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index a04b191723..95b34e5c4d 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -332,9 +332,9 @@ class Keg < Pathname protected - # symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo - def link_dir foo, mode - root = self+foo + # symlinks the contents of self+relative_dir recursively into #{HOMEBREW_PREFIX}/relative_dir + def link_dir relative_dir, mode + root = self+relative_dir return unless root.exist? root.find do |src| next if src == root