diff options
| author | Mike McQuaid | 2016-07-16 22:16:13 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-07-29 21:21:29 -0600 |
| commit | 3d3620832876f4167cdd5e0313affa3c954ece27 (patch) | |
| tree | d5d42cbaaa8d2374d7a265ec21230b92a22ca2ee | |
| parent | dd3a8d4b2f715a7dd9af30fae3862363fe8ec861 (diff) | |
| download | brew-3d3620832876f4167cdd5e0313affa3c954ece27.tar.bz2 | |
compat/pathname: cleanup style.
| -rw-r--r-- | Library/Homebrew/compat/pathname.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/pathname.rb b/Library/Homebrew/compat/pathname.rb index 7248525e5..58888f017 100644 --- a/Library/Homebrew/compat/pathname.rb +++ b/Library/Homebrew/compat/pathname.rb @@ -1,6 +1,6 @@ class Pathname def cp(dst) - opoo "Pathname#cp is deprecated, use FileUtils.cp" + odeprecated "Pathname#cp", "FileUtils.cp" if file? FileUtils.cp to_s, dst else @@ -10,7 +10,7 @@ class Pathname end def chmod_R(perms) - opoo "Pathname#chmod_R is deprecated, use FileUtils.chmod_R" + odeprecated "Pathname#chmod_R", "FileUtils.chmod_R" require "fileutils" FileUtils.chmod_R perms, to_s end |
