diff options
| author | Jack Nagel | 2014-06-09 14:56:22 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-09 15:04:15 -0500 | 
| commit | 02a37d53873d209fd3b7b3244949c6524beb4cdf (patch) | |
| tree | 884434e230f2a2cc420faed4e3ad428316747710 /Library/Homebrew/options.rb | |
| parent | 562480ff147505243e3265b8027e98d764babc74 (diff) | |
| download | homebrew-02a37d53873d209fd3b7b3244949c6524beb4cdf.tar.bz2 | |
Fix warning under Ruby 2.2
Diffstat (limited to 'Library/Homebrew/options.rb')
| -rw-r--r-- | Library/Homebrew/options.rb | 1 | 
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 | 
