diff options
| author | Mike McQuaid | 2016-09-11 17:49:27 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-11 17:49:27 +0100 |
| commit | d1191c8bb0a60baf14f78cf7c5e903aa363ce53e (patch) | |
| tree | 16bc3c709941b221566c821cd37347f2da2fd951 /Library/Homebrew | |
| parent | cefaef75e1f7f8a4332ad5bd7468be7b3eead104 (diff) | |
| download | brew-d1191c8bb0a60baf14f78cf7c5e903aa363ce53e.tar.bz2 | |
os/mac/architecture_list: fix Rubocop warnings.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/os/mac/architecture_list.rb | 4 |
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 |
