From 00b3dde0b2a5fc66ccd276ee83619ef678c82cc7 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 24 Sep 2016 20:11:54 +0200 Subject: RuboCop: MacOS --- Library/Homebrew/compat/xcode.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library/Homebrew/compat/xcode.rb') 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 -- cgit v1.2.3