aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-09 14:56:22 -0500
committerJack Nagel2014-06-09 15:04:15 -0500
commit14aa1de33c5d9a9e8fdc839a347f9521360c4e9f (patch)
treeca737a3f60cef71db241f0a5c736fed8a6c3bdba /Library
parente3f082c294862619847a7f5234340b6b69964ff8 (diff)
downloadbrew-14aa1de33c5d9a9e8fdc839a347f9521360c4e9f.tar.bz2
Fix warning under Ruby 2.2
Diffstat (limited to 'Library')
-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