aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorXu Cheng2015-11-16 23:18:31 +0800
committerXu Cheng2015-11-17 18:52:00 +0800
commitd108bf0a55446df39592604bbfefa641d9c0e734 (patch)
treeeee1d5deaaa88fc4e42959ccfc6b9f061abd62be /Library/Homebrew/extend
parentbaf3ca09b2ec7e1e2803f62e02c0f75ba972275b (diff)
downloadbrew-d108bf0a55446df39592604bbfefa641d9c0e734.tar.bz2
move more deprecated methods to compat folder
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/pathname.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 9708879e9..8ff1f29a9 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -135,16 +135,6 @@ class Pathname
end
private :default_stat
- # @private
- def cp(dst)
- opoo "Pathname#cp is deprecated, use FileUtils.cp"
- if file?
- FileUtils.cp to_s, dst
- else
- FileUtils.cp_r to_s, dst
- end
- dst
- end
# @private
def cp_path_sub(pattern, replacement)
@@ -198,12 +188,6 @@ class Pathname
false
end
- # @private
- def chmod_R(perms)
- opoo "Pathname#chmod_R is deprecated, use FileUtils.chmod_R"
- require "fileutils"
- FileUtils.chmod_R perms, to_s
- end
# @private
def version