aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-03-24 21:08:12 -0400
committerJack Nagel2015-03-24 21:08:12 -0400
commit881856c819f8c1184254ec1157d86f684d7d963e (patch)
tree6af8a7f870c2ad6af23a8529e028a60557eb6371
parent32ddf67105f119eff2e8e192933f1a6bc0617813 (diff)
downloadhomebrew-881856c819f8c1184254ec1157d86f684d7d963e.tar.bz2
Make install_p and install_symlink_p private
-rw-r--r--Library/Homebrew/extend/pathname.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 86c4f8a24..a9a9672f9 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -57,7 +57,7 @@ class Pathname
FileUtils.mv src, dst
end
end
- protected :install_p
+ private :install_p
# Creates symlinks to sources in this folder.
def install_symlink *sources
@@ -79,7 +79,7 @@ class Pathname
mkpath
FileUtils.ln_sf(src.relative_path_from(dst.parent), dst)
end
- protected :install_symlink_p
+ private :install_symlink_p
# we assume this pathname object is a file obviously
alias_method :old_write, :write if method_defined?(:write)