aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hardware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/hardware.rb')
-rw-r--r--Library/Homebrew/compat/hardware.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/hardware.rb b/Library/Homebrew/compat/hardware.rb
index 3013ed3b7..6667afa58 100644
--- a/Library/Homebrew/compat/hardware.rb
+++ b/Library/Homebrew/compat/hardware.rb
@@ -1,10 +1,14 @@
class Hardware
class << self
- def is_32_bit?
+ # We won't change the name because of backward compatibility.
+ # So disable rubocop here.
+ def is_32_bit? # rubocop:disable Style/PredicateName
!CPU.is_64_bit?
end
- def is_64_bit?
+ # We won't change the name because of backward compatibility.
+ # So disable rubocop here.
+ def is_64_bit? # rubocop:disable Style/PredicateName
CPU.is_64_bit?
end