From 1351f67e91c75451fb2c7ce8f024adb86dcb542d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 24 Mar 2015 21:08:12 -0400 Subject: [PATCH] Make install_p and install_symlink_p private --- Library/Homebrew/extend/pathname.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 86c4f8a247..a9a9672f98 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)