From 7c278319ed7dd3628c68fb84952a40b8d5a5f259 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 16 Aug 2016 17:00:38 +0100 Subject: [PATCH] descriptions: assume Ruby 2. --- Library/Homebrew/descriptions.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 0d36782cfa..9c53414616 100644 --- a/Library/Homebrew/descriptions.rb +++ b/Library/Homebrew/descriptions.rb @@ -110,8 +110,6 @@ class Descriptions @cache.select { |name, desc| (name =~ regex) || (desc =~ regex) } end - results = Hash[results] if RUBY_VERSION <= "1.8.7" - new(results) end