aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/options.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index c3b15b06e..b9a5aaef0 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -16,6 +16,7 @@ class Option
alias_method :to_str, :to_s
def <=>(other)
+ return unless Option === other
name <=> other.name
end