aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-11 17:49:27 +0100
committerMike McQuaid2016-09-11 17:49:27 +0100
commitd1191c8bb0a60baf14f78cf7c5e903aa363ce53e (patch)
tree16bc3c709941b221566c821cd37347f2da2fd951 /Library
parentcefaef75e1f7f8a4332ad5bd7468be7b3eead104 (diff)
downloadbrew-d1191c8bb0a60baf14f78cf7c5e903aa363ce53e.tar.bz2
os/mac/architecture_list: fix Rubocop warnings.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/architecture_list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/architecture_list.rb b/Library/Homebrew/os/mac/architecture_list.rb
index 964cfed0c..595c8f169 100644
--- a/Library/Homebrew/os/mac/architecture_list.rb
+++ b/Library/Homebrew/os/mac/architecture_list.rb
@@ -28,7 +28,7 @@ module ArchitectureListExtension
end
def ppc?
- (Hardware::CPU::PPC_32BIT_ARCHS+Hardware::CPU::PPC_64BIT_ARCHS).any? { |a| self.include? a }
+ (Hardware::CPU::PPC_32BIT_ARCHS+Hardware::CPU::PPC_64BIT_ARCHS).any? { |a| include? a }
end
# @private
@@ -48,7 +48,7 @@ module ArchitectureListExtension
def intersects_all?(*set)
set.all? do |archset|
- archset.any? { |a| self.include? a }
+ archset.any? { |a| include? a }
end
end
end