aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
-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)