aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.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/compilers.rb
parent25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6 (diff)
downloadbrew-e851c9bf6c3adda268f1a307d6b49acb1ad1852d.tar.bz2
Style/Alias: Prefer `alias`.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 940566643..6330db283 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -18,7 +18,7 @@ class CompilerFailure
# Allows Apple compiler `fails_with` statements to keep using `build`
# even though `build` and `version` are the same internally
- alias_method :build, :version
+ alias build version
# The cause is no longer used so we need not hold a reference to the string
def cause(_); end