aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/xcode.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-27 09:33:56 +0100
committerGitHub2016-09-27 09:33:56 +0100
commit92e6edea539d2b9e79ce3854522b9cfc6ceca06c (patch)
treee975caf485c95b670d2e715ecd8327af948f8e5d /Library/Homebrew/compat/xcode.rb
parenta5565d8fd600bc2883ed76ca8708d08588d1ef3f (diff)
parent00b3dde0b2a5fc66ccd276ee83619ef678c82cc7 (diff)
downloadbrew-92e6edea539d2b9e79ce3854522b9cfc6ceca06c.tar.bz2
Merge pull request #1125 from reitermarkus/rubocop-macos
RuboCop: MacOS
Diffstat (limited to 'Library/Homebrew/compat/xcode.rb')
-rw-r--r--Library/Homebrew/compat/xcode.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/compat/xcode.rb b/Library/Homebrew/compat/xcode.rb
index 69abbf4b1..14150cc7c 100644
--- a/Library/Homebrew/compat/xcode.rb
+++ b/Library/Homebrew/compat/xcode.rb
@@ -1,11 +1,11 @@
module OS
module Mac
module Xcode
- class << self
- def provides_autotools?
- odeprecated "OS::Mac::Xcode.provides_autotools?"
- version < "4.3"
- end
+ module_function
+
+ def provides_autotools?
+ odeprecated "OS::Mac::Xcode.provides_autotools?"
+ version < "4.3"
end
end
end