diff options
| author | Xu Cheng | 2015-08-06 16:58:29 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-08-06 17:23:56 +0800 |
| commit | 0c774cff50962b6243a0bde6a3e098402263c8f5 (patch) | |
| tree | 8afbc19b2776e0164b3b619800542753e5ce55e7 /Library | |
| parent | 8f20ea92b30aa55943c7d0e8ce5ea9bdb6569135 (diff) | |
| download | brew-0c774cff50962b6243a0bde6a3e098402263c8f5.tar.bz2 | |
hardware: temporary disable rubocop method rename rule
Closes Homebrew/homebrew#42540.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/compat/hardware.rb | 8 |
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 |
