diff options
| author | Jack Nagel | 2015-03-24 21:08:12 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-03-24 21:08:12 -0400 |
| commit | 1351f67e91c75451fb2c7ce8f024adb86dcb542d (patch) | |
| tree | 3f248378215bbb7d7bd8302fa5a8675c5f3d9d6e /Library/Homebrew | |
| parent | ab3d622da231b862a363e56cfcce63e5d2ea1f4c (diff) | |
| download | brew-1351f67e91c75451fb2c7ce8f024adb86dcb542d.tar.bz2 | |
Make install_p and install_symlink_p private
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 4 |
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) |
