aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-26 18:45:34 -0500
committerJack Nagel2014-06-26 18:45:34 -0500
commit64d5aef0bc0f0e820d9c67bdb701350bc2b6ecd9 (patch)
treed7717b9d1eb6e88a23b2c06ddf3674740e103d8c /Library
parent001b2ee47132f3cab173a750031cada53f443f5b (diff)
downloadbrew-64d5aef0bc0f0e820d9c67bdb701350bc2b6ecd9.tar.bz2
Fix keg method visibility
Only link_dir needs to be protected
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 4c338e82f..a04b19172 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -276,7 +276,7 @@ class Keg < Pathname
find { |pn| pn.delete if pn.extname == ".pyc" }
end
- protected
+ private
def resolve_any_conflicts dst, mode
# if it isn't a directory then a severe conflict is about to happen. Let
@@ -330,6 +330,8 @@ class Keg < Pathname
raise LinkError.new(self, src, dst)
end
+ protected
+
# symlinks the contents of self+foo recursively into #{HOMEBREW_PREFIX}/foo
def link_dir foo, mode
root = self+foo