aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-01-07 18:16:11 -0600
committerJack Nagel2013-01-07 18:17:51 -0600
commitdfa387700d4454ba1e231d1ccabf0637d2890990 (patch)
tree836a274e8595dd890faca02ce0c58e246ca347d2 /Library
parentc670339c02985878336c4f719d6b4e2b538cdc5c (diff)
downloadbrew-dfa387700d4454ba1e231d1ccabf0637d2890990.tar.bz2
Allow conversion of Dependencies to Array
This is needed for the intersection code in `brew deps` to work right, but can hopefully be refactored away somehow eventually.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependencies.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index 3dd5a3101..1c95e9613 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -108,6 +108,10 @@ class Dependencies
def *(arg)
@deps * arg
end
+
+ def to_ary
+ @deps
+ end
end
module Dependable