From 14aa1de33c5d9a9e8fdc839a347f9521360c4e9f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 9 Jun 2014 14:56:22 -0500 Subject: Fix warning under Ruby 2.2 --- Library/Homebrew/options.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3