hardware: temporary disable rubocop method rename rule
Closes Homebrew/homebrew#42540. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
8f20ea92b3
commit
0c774cff50
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user