diff options
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 16 |
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 |
