aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/options.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-20 22:03:08 +0200
committerMarkus Reiter2016-09-23 15:30:06 +0200
commit52ff98853068c03b3bfa777932da1da69e35e583 (patch)
tree9a1da6ffe5d0054c4edaa321744b7ce1e685040a /Library/Homebrew/options.rb
parentdb37920fa71060d8557dc83013c06f8ff61ef4a1 (diff)
downloadbrew-52ff98853068c03b3bfa777932da1da69e35e583.tar.bz2
Fix RuboCop CaseEquality.
Diffstat (limited to 'Library/Homebrew/options.rb')
-rw-r--r--Library/Homebrew/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index 1d92fbf47..947ce5acd 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -14,7 +14,7 @@ class Option
end
def <=>(other)
- return unless Option === other
+ return unless other.is_a?(Option)
name <=> other.name
end