aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/development_tools.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/extend/os/mac/development_tools.rb
parent25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6 (diff)
downloadbrew-e851c9bf6c3adda268f1a307d6b49acb1ad1852d.tar.bz2
Style/Alias: Prefer `alias`.
Diffstat (limited to 'Library/Homebrew/extend/os/mac/development_tools.rb')
-rw-r--r--Library/Homebrew/extend/os/mac/development_tools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb
index b9c9d8e43..381b26e66 100644
--- a/Library/Homebrew/extend/os/mac/development_tools.rb
+++ b/Library/Homebrew/extend/os/mac/development_tools.rb
@@ -3,7 +3,7 @@ require "os/mac/xcode"
# @private
class DevelopmentTools
class << self
- alias_method :original_locate, :locate
+ alias original_locate locate
def locate(tool)
(@locate ||= {}).fetch(tool) do |key|
@locate[key] = if (located_tool = original_locate(tool))