From e722a906f4c916241c66cd067c669897c1f03103 Mon Sep 17 00:00:00 2001 From: Christian Bernard Date: Wed, 23 Jan 2019 11:45:19 -0700 Subject: [PATCH] Added missing method to_a to Cask::DSL:ConflictsWith class. --- Library/Homebrew/cask/dsl/conflicts_with.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cask/dsl/conflicts_with.rb b/Library/Homebrew/cask/dsl/conflicts_with.rb index fa05f584c1..f2945d6b99 100644 --- a/Library/Homebrew/cask/dsl/conflicts_with.rb +++ b/Library/Homebrew/cask/dsl/conflicts_with.rb @@ -25,6 +25,9 @@ module Cask instance_variable_set("@#{key}", instance_variable_get("@#{key}").merge([*value])) end end + def to_a + (@pairs.values) + end end end end