aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/formula.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-23 18:13:48 +0200
committerMarkus Reiter2016-09-23 18:19:53 +0200
commite851c9bf6c3adda268f1a307d6b49acb1ad1852d (patch)
treebb34a927e27ee6133fdbca4695e2b8db98e0e2f5 /Library/Homebrew/compat/formula.rb
parent25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6 (diff)
downloadbrew-e851c9bf6c3adda268f1a307d6b49acb1ad1852d.tar.bz2
Style/Alias: Prefer `alias`.
Diffstat (limited to 'Library/Homebrew/compat/formula.rb')
-rw-r--r--Library/Homebrew/compat/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb
index 41896d261..853a38706 100644
--- a/Library/Homebrew/compat/formula.rb
+++ b/Library/Homebrew/compat/formula.rb
@@ -72,8 +72,8 @@ class Formula
yield if block_given?
PythonRequirement.new
end
- alias_method :python2, :python
- alias_method :python3, :python
+ alias python2 python
+ alias python3 python
def startup_plist
odeprecated "Formula#startup_plist", "Formula#plist"